Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.SystemExtensions
SystemExtension Class
SystemExtension Methods
Indicator Method
Indicator Method (Boolean)
Indicator(T) Method (Boolean)
SystemExtension
Indicator Method (Boolean)
Get 0 or 1 depending on a
Boolean
.
Namespace:
WhetStone.SystemExtensions
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
int
Indicator
(
this
bool
this
)
Parameters
this
Type:
System
Boolean
The
Boolean
to use.
Return Value
Type:
Int32
1 if
this
is
, or 0 otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Boolean
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
SystemExtension Class
Indicator Overload
WhetStone.SystemExtensions Namespace