Table of Contents

Method FastIsDefined

Namespace
Terminal.Gui.Testing
Assembly
Terminal.Gui.dll

FastIsDefined(InputInjectionMode, int)

Determines if the specified int value is explicitly defined as a named value of the InputInjectionMode enum type.

public static bool FastIsDefined(this InputInjectionMode _, int value)

Parameters

_ InputInjectionMode
value int

Returns

bool

Remarks

Only explicitly named values return true, as with IsDefined. Combined valid flag values of flags enums which are not explicitly named will return false.