Try |
The TryCastExtension type exposes the following members.
Name | Description | |
---|---|---|
TryCastTValue | Creates the TryCastWorkerTValue object to get a fluent notation for try-casting types. This pattern avoids heavily nested if (class is type) / else chains when testing for more than one possible cast. |