IEnumeration<TStruct> Interface
Marker interface to characterize a struct of type TStruct as an enumeration-like data type.
public interface IEnumeration<TStruct> where TStruct : struct, System.ValueType, System.ValueTypeType parameters
Section titled “Type parameters”TStruct
The type to mark as an enumeration-like data structure.
Derived
↳ CompressionMode
↳ Flag
↳ IEnumeration<TStruct,TValue>
↳ QuotationBehavior
↳ IntervalTransformationMethod
↳ IntervalType
↳ TimeBase
↳ FunctionType
Remarks
Section titled “Remarks”Commonly used enums are somewhat limited in several ways, i.e. it is not possible to add methods to them, extend them without code changes, specify an optimized data type for their backing value, etc.
HAKOM applications uses special structs in these cases instead. A few examples of this can be found here:
Was this page helpful?Thanks for your feedback!