Class ParseUtils.Bool.BoolStrings
Utility class for converting boolean values to various string representations
Inherited Members
Namespace: Serenity.Shared.Utils
Assembly: Serenity.Shared.dll
Syntax
public static class ParseUtils.Bool.BoolStrings
Methods
GetBoolString(BoolStringsTypes, bool)
Convert a boolean value to its string representation based on the specified type
Declaration
public static string GetBoolString(ParseUtils.Bool.BoolStringsTypes type, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| ParseUtils.Bool.BoolStringsTypes | type | The type of string representation to use |
| bool | value | The boolean value to convert |
Returns
| Type | Description |
|---|---|
| string | The string representation of the boolean value |