Class EnumMemberShapeAttribute
- Namespace
- PolyType
- Assembly
- PolyType.dll
Annotates a member of an enum to provide additional metadata for its shape representation.
[AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
public class EnumMemberShapeAttribute : Attribute
- Inheritance
-
EnumMemberShapeAttribute
- Inherited Members
Properties
Name
Gets a custom name to be used for the particular enum member in its containing IEnumTypeShape.
public string? Name { get; init; }