Primitively Primitively
Primitively Primitively
DocFX + Singulink = ♥

Search Results for

    Class IntInfo

    This class represents metadata properties common to all source generated Primitively numeric types.

    Inheritance
    object
    PrimitiveInfo
    NumericInfo<int>
    IntInfo
    Implements
    IEquatable<PrimitiveInfo>
    INumericInfo
    IEquatable<NumericInfo<int>>
    IEquatable<IntInfo>
    Inherited Members
    NumericInfo<int>.Minimum
    NumericInfo<int>.Maximum
    PrimitiveInfo.DataType
    PrimitiveInfo.Type
    PrimitiveInfo.ValueType
    PrimitiveInfo.Example
    PrimitiveInfo.CreateFrom
    Namespace: Primitively
    Assembly: Primitively.Abstractions.dll
    Syntax
    public sealed record IntInfo : NumericInfo<int>, IEquatable<PrimitiveInfo>, INumericInfo, IEquatable<NumericInfo<int>>, IEquatable<IntInfo>

    Constructors

    IntInfo(Type, string?, Func<string?, IPrimitive>, int, int)

    This class represents metadata properties common to all source generated Primitively numeric types.

    Declaration
    public IntInfo(Type Type, string? Example, Func<string?, IPrimitive> CreateFrom, int Minimum, int Maximum)
    Parameters
    Type Name Description
    Type Type

    The .NET type of the Primitively type.

    string Example

    An optional example of the integer.

    Func<string, IPrimitive> CreateFrom

    A function that creates an instance of the Primitively type from a string.

    int Minimum

    The minimum value that can be set on the source generated Primitively type.

    int Maximum

    The maximum value that can be set on the source generated Primitively type.

    Implements

    IEquatable<T>
    INumericInfo
    IEquatable<T>
    IEquatable<T>
    © Electronic Hands. All rights reserved.