Click or drag to resize

BaseProcessorEncodeBoolToInt Method

A helper method for processors that need to encode bool to int.

Namespace: Orthogonal.NSettings
Assembly: Orthogonal.NSettings (in Orthogonal.NSettings.dll) Version: 3.0.5
Syntax
C#
public static int EncodeBoolToInt(
	bool b
)

Parameters

b  Boolean
The bool value to encoded as an int.

Return Value

Int32
An int 1 or 0 corresponding to a b parameter value of true and false respectively.
See Also