Meziantou.Framework.Annotations namespace

Classes

NameDescription
StronglyTypedIdAttributeIndicates that the type should be treated as a strongly-typed identifier and generates code to wrap a primitive value type. The source generator creates methods for conversion, comparison, serialization, and other common operations.
StronglyTypedIdAttribute<T>Indicates that the type should be treated as a strongly-typed identifier with compile-time type safety. This generic variant provides type checking at compile time and generates code to wrap the specified value type.
StronglyTypedIdDefaultsAttributeConfigures the default values used by the strongly-typed identifier source generator for all the types of the assembly. Options set on StronglyTypedIdAttribute or StronglyTypedIdAttribute<T> take precedence over the values defined by this attribute.

Enums

NameDescription
GuidGenerationStrategySpecifies the strategy used by the generated New() method to create new Guid values.