| TryCastWorkerTValue, TResultElse Method |
Executes the action and returns the result if no previous cast has succeeded.
Namespace: TomsToolbox.DesktopAssembly: TomsToolbox.Desktop (in TomsToolbox.Desktop.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax public TResult Else(
Func<TValue, TResult> action
)
Public Function Else (
action As Func(Of TValue, TResult)
) As TResult
Parameters
- action FuncTValue, TResult
- The action.
Return Value
TResultThe result.
See Also