Table of Contents

Method FastHasFlags

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

FastHasFlags(ViewportSettingsFlags, ViewportSettingsFlags)

Determines if the specified flags are set in the current value of this ViewportSettingsFlags.

public static bool FastHasFlags(this ViewportSettingsFlags e, ViewportSettingsFlags checkFlags)

Parameters

e ViewportSettingsFlags
checkFlags ViewportSettingsFlags

Returns

bool

True, if all flags present in checkFlags are also present in the current value of the ViewportSettingsFlags.
Otherwise false.

Remarks

NO VALIDATION IS PERFORMED!

FastHasFlags(ViewportSettingsFlags, int)

Determines if the specified mask bits are set in the current value of this ViewportSettingsFlags.

public static bool FastHasFlags(this ViewportSettingsFlags e, int mask)

Parameters

e ViewportSettingsFlags

The ViewportSettingsFlags value to check against the mask value.

mask int

A 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 ViewportSettingsFlags.
Otherwise false.

Remarks

NO VALIDATION IS PERFORMED!