 | BaseProcessorEncodeBoolToInt Method |
A helper method for processors that need to encode bool to int.
Namespace: Orthogonal.NSettingsAssembly: Orthogonal.NSettings (in Orthogonal.NSettings.dll) Version: 3.0.5
Syntaxpublic static int EncodeBoolToInt(
bool b
)
Parameters
- b Boolean
- The bool value to encoded as an int.
Return Value
Int32An int 1 or 0 corresponding to a
b parameter value of
true and
false respectively.
See Also