Interface IEnumTypeShape<TEnum, TUnderlying>
- Namespace
- PolyType.Abstractions
- Assembly
- PolyType.dll
Provides a strongly typed shape model for a .NET enum.
public interface IEnumTypeShape<TEnum, TUnderlying> : ITypeShape<TEnum>, IEnumTypeShape, ITypeShape where TEnum : struct, Enum
Type Parameters
TEnum
The type of .NET enum.
TUnderlying
The underlying type used to represent the enum.
- Inherited Members
Properties
UnderlyingType
Gets the shape of the underlying type used to represent the enum.
ITypeShape<TUnderlying> UnderlyingType { get; }
Property Value
- ITypeShape<TUnderlying>