Class GenericEnumFieldDescriptor
Represents a generic enum field descriptor. This is a collection of display key pairs.
[Serializable]
public class GenericEnumFieldDescriptor : FieldDescriptor
- Inheritance
-
GenericEnumFieldDescriptor
- Inherited Members
- Extension Methods
Remarks
The supported types for display key pairs are (Note: these cannot be mixed):
Each value of this field descriptor must have one of the available key values of the generic enum.
Note: A IGenericEnumEntry can be set to hidden, e.g. to implement a soft delete of options.
Constructors
- GenericEnumFieldDescriptor()
Initializes a new instance of the GenericEnumFieldDescriptor class.
Fields
- SupportedGenericEnumTypes
The supported generic enum types.
Properties
- GenericEnumInstance
Gets or sets the generic enum instance.
Methods
- ContainsValidSupportedType(out SectionDefinitionError)
Determines whether the specified type in FieldType is a supported type.
- Equals(GenericEnumFieldDescriptor)
Indicates whether the current object is equal to another object of the same type.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Calculates the hash code for this object.
- IsValueOfValidType(IValueWrapper)
Determines whether the specified value has the valid type.
- IschangedInASafeWay(FieldDescriptor)
Determines whether the field descriptor is changed in a safe way.