Namespace Primitively
Classes
ByteAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively IByte type that encapsulates a byte value.
ByteInfo
This class represents metadata properties common to all source generated Primitively numeric types.
DateOnlyAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively IDateOnly type that encapsulates a date value in ISO 8601 YYYY-MM-DD format.
DateOnlyInfo
This class contains metadata about a Primitively IDateOnly type.
DecimalAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively IDecimal type that encapsulates a decimal value.
DecimalInfo
This class represents metadata properties common to all source generated Primitively numeric types.
DoubleAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively IDouble type that encapsulates a double value.
DoubleInfo
This class represents metadata properties common to all source generated Primitively numeric types.
GuidAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively IGuid type that encapsulates a Guid value.
GuidInfo
This class contains metadata about a Primitively IGuid type.
IntAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively IInt type that encapsulates an int value.
IntInfo
This class represents metadata properties common to all source generated Primitively numeric types.
LongAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively ILong type that encapsulates a long value.
LongInfo
This class represents metadata properties common to all source generated Primitively numeric types.
NumericAttribute
This is an abstract class for custom attributes that can be applied to integer types. It inherits from the PrimitiveAttribute class and provides properties to set the minimum and maximum values.
NumericInfo<T>
This class represents metadata properties common to all source generated Primitively numeric types.
PrimitiveAttribute
This is an abstract class for custom attributes that can be applied to struct types. It provides a flag to control whether to generate a method that implements the IValidatableObject interface.
PrimitiveInfo
This abstract class represents metadata properties common to all source generated Primitively types.
SByteAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively ISByte type that encapsulates an sbyte value.
SByteInfo
This class represents metadata properties common to all source generated Primitively numeric types.
ShortAttribute
This class can be used on a partial record struct
to source generate
a Primitively IShort type that encapsulates a short value.
ShortInfo
This class represents metadata properties common to all source generated Primitively numeric types.
SingleAttribute
This attribute should be used on a partial record struct
to source generate
a Primitively ISingle type that encapsulates a float value.
SingleInfo
This class represents metadata properties common to all source generated Primitively numeric types.
StringAttribute
This class can be used on a partial record struct
to source generate
a Primitively IString type that encapsulates a string value.
StringInfo
This class contains metadata about a Primitively IString type.
TypeExtensions
This static class that provides extension methods for the Type class.
UIntAttribute
This class can be used on a partial record struct
to source generate
a Primitively IUInt type that encapsulates an uint value.
UIntInfo
This class represents metadata properties common to all source generated Primitively numeric types.
ULongAttribute
This class can be used on a partial record struct
to source generate
a Primitively IULong type that encapsulates an ulong value.
ULongInfo
This class represents metadata properties common to all source generated Primitively numeric types.
UShortAttribute
This class can be used on a partial record struct
to source generate
a Primitively IUShort type that encapsulates an ushort value.
UShortInfo
This class represents metadata properties common to all source generated Primitively numeric types.
Interfaces
IByte
Defines a contract for a Primitively type that encapsulates a byte value.
IDateOnly
Defines a contract for a Primitively type that encapsulates a DateTime value.
IDecimal
Defines a contract for a Primitively type that encapsulates a decimal value.
IDouble
Defines a contract for a Primitively type that encapsulates a double value.
IGuid
Defines a contract for a Primitively type that encapsulates a Guid value.
IInt
Defines a contract for a Primitively type that encapsulates an int value.
ILong
Defines a contract for a Primitively type that encapsulates a long value.
INumeric
Defines a contract for a Primitively type that encapsulates a numeric value.
INumericInfo
Defines a contract for providing metadata about a numeric type.
IPrimitive
This interface is implemented by all source generated Primitively types. It provides a set of properties to encapsulate a value of a specific .NET primitive type and its metadata.
IPrimitiveFactory
This interface provides methods for creating instances of Primitively types.
IPrimitiveRepository
This interface provides methods for retrieving metadata about Primitively types.
IPrimitive<T>
This interface is implemented by all source generated Primitively types. It provides a generic interface for encapsulating a value of a specific .NET primitive type.
ISByte
Defines a contract for a Primitively type that encapsulates an sbyte value.
IShort
Defines a contract for a Primitively type that encapsulates a short value.
ISingle
Defines a contract for a Primitively type that encapsulates a float value.
IString
Defines a contract for a Primitively type that encapsulates a string value.
IUInt
Defines a contract for a Primitively type that encapsulates a uint value.
IULong
Defines a contract for a Primitively type that encapsulates a ulong value.
IUShort
Defines a contract for a Primitively type that encapsulates a ushort value.
Enums
DataType
This enum represents each Primitively type variation.
Specifier
This enum represents each .NET Guid format variation.