TryCastWorkerBaseTValue, TResult Methods |
The TryCastWorkerBaseTValue, TResult generic type exposes the following members.
Name | Description | |
---|---|---|
ElseThrow |
Throws an InvalidOperationException if none of the casts have succeeded.
| |
ElseThrow(String) |
Throws an InvalidOperationException if none of the casts have succeeded.
| |
TryExecuteTTarget |
Tries to cast the value and executes the action if the cast was successful.
|
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.) |