Enum SplitFlagsOptions
Provides options for splitting flags.
Namespace: Singulink.Enums
Assembly: Singulink.Enums.dll
Syntax
[Flags]
public enum SplitFlagsOptions
Fields
Name | Description |
---|---|
AllMatchingFlags | Include all matching flags in the result, even if they are redundant. If this option is not specified, only the minimal set of flags are included. Zero-value flags are never included in a SplitFlags<T>(T, SplitFlagsOptions) result regardless of this option. |
ExcludeRemainder | Exclude any remainder that cannot be represented by any defined flags from the result. This flag takes precedence over the ThrowOnRemainder flag if both are set. |
None | Use the default options when splitting flags. |
ThrowOnRemainder | Throw ArgumentException if there is a remainder that cannot be represented by any defined flags. |