Class ULongInfo
This class represents metadata properties common to all source generated Primitively numeric types.
Implements
Inherited Members
Namespace: Primitively
Assembly: Primitively.Abstractions.dll
Syntax
public sealed record ULongInfo : NumericInfo<ulong>, IEquatable<PrimitiveInfo>, INumericInfo, IEquatable<NumericInfo<ulong>>, IEquatable<ULongInfo>
Constructors
ULongInfo(Type, string?, Func<string?, IPrimitive>, ulong, ulong)
This class represents metadata properties common to all source generated Primitively numeric types.
Declaration
public ULongInfo(Type Type, string? Example, Func<string?, IPrimitive> CreateFrom, ulong Minimum, ulong 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. |
ulong | Minimum | The minimum value that can be set on the source generated Primitively type. |
ulong | Maximum | The maximum value that can be set on the source generated Primitively type. |