Skip to content

InputResultExtensions ​

Namespace: Hex1b.Input

Assembly: Hex1b.dll

Extension methods for InputResult.

csharp
public static class InputResultExtensions

Inheritance ​

Object → InputResultExtensions

Methods ​

ToInputResult(bool) ​

Converts a boolean to an InputResult.

Parameters:

Returns: InputResult

csharp
public static InputResult ToInputResult(this bool handled)

WasHandled(InputResult) ​

Returns true if the input was handled.

Parameters:

Returns: Boolean

csharp
public static bool WasHandled(this InputResult result)

Released under the MIT License.