Class Result.BooleanResult
Represents the boolean result.
public sealed class Result.BooleanResult : Result
- Inheritance
-
Result.BooleanResult
- Inherited Members
Constructors
BooleanResult(bool)
Initializes a new instance of the Result.BooleanResult class.
public BooleanResult(bool boolean)
Parameters
boolean
boolThe boolean value.
Properties
Bool
Gets the boolean value.
public override bool Bool { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator bool(BooleanResult)
Converts Result.BooleanResult to bool.
public static implicit operator bool(Result.BooleanResult booleanResult)
Parameters
booleanResult
Result.BooleanResultThe boolean result.
Returns
- bool
The boolean value.