Extends the operations for Flag Enumerations with setting and clearing of individual flags.
Static member | Description |
|
|
Full Usage:
EnumerationExtensions.WithClearedFlag(type, value)
Parameters:
Enum
value : 'T
Returns: 'T
|
|
Full Usage:
EnumerationExtensions.WithFlag(type, flag, value)
Parameters:
Enum
flag : 'T
value : bool
Returns: 'T
|
|
Full Usage:
EnumerationExtensions.WithSetFlag(type, value)
Parameters:
Enum
value : 'T
Returns: 'T
|
|