Method FastHasFlags
- Namespace
- Terminal.Gui.EnumExtensions
- Assembly
- Terminal.Gui.dll
FastHasFlags(AlignmentModes, AlignmentModes)
Determines if the specified flags are set in the current value of this AlignmentModes.
public static bool FastHasFlags(this AlignmentModes e, AlignmentModes checkFlags)
Parameters
e
AlignmentModescheckFlags
AlignmentModes
Returns
- bool
True, if all flags present in
checkFlags
are also present in the current value of the AlignmentModes.
Otherwise false.
Remarks
NO VALIDATION IS PERFORMED!
FastHasFlags(AlignmentModes, int)
Determines if the specified mask bits are set in the current value of this AlignmentModes.
public static bool FastHasFlags(this AlignmentModes e, int mask)
Parameters
e
AlignmentModesThe AlignmentModes value to check against the
mask
value.mask
intA mask to apply to the current value.
Returns
- bool
True, if all bits set to 1 in the mask are also set to 1 in the current value of the AlignmentModes.
Otherwise false.
Remarks
NO VALIDATION IS PERFORMED!