Bool Methods

Methods

CastCasts the object specified in the value parameter to a Bool. If the cast fails an InvalidCastException is thrown
CompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Overrides DataTypeBaseCompareTo(Object))
EqualsDetermines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsSpecialNullInstance 
IsTrue 
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Not 
ToBoolean Converts to Boolean
ToIntTransforms the Bool to Int32
ToStringReturns a string that represents the current object.
(Inherited from Object)
ToString(String)Returns a String that represents the current Bool. The result string is formatted using the format provided in the format parameter.
(Overrides DataTypeBaseToString(String))
ToString(String, IFormatProvider)Returns a String that represents the value specified in format. The result string is formatted using the format provided in the format parameter.
(Inherited from DataTypeBase)
TryCastTries to cast the object specified in the value parameter to a Boolean.

Extension Methods

ShouldBeVerifies that the actual value matches the expected value
(Defined by Should)
ShouldBeVerifies that the actual value matches the expected value
(Defined by Should)

See Also