Provides runtime helper methods for validating enum values, used by EnumDataTypeAttribute.
Namespace: Metalama.Patterns.Contracts
Assembly: Metalama.Patterns.Contracts.dll
Syntax
public static class EnumDataTypeAttributeHelperMethods
| Name | Description |
|---|---|
| IsValidEnumValue(object?, Type) | Determines whether the specified object value is a valid member of the specified enumeration type. |
| IsValidEnumValue(string, Type) | Determines whether the specified string value is a valid member of the specified enumeration type. |