BooleanExtensions Class
.NET Standard 2.x
Provides the extension methods for Boolean.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static class BooleanExtensions;
Methods
Name | Return Type | Description |
---|---|---|
ToInt(this bool b, short falseValue = 0) | System.Int16 | Converts a non-empty bool value to a short value. |
ToInt(this bool? b, short falseValue = 0) | System.Int16 | Converts a nullable bool value to a short value. |