ExceptUtilTryToGet Method

Overload List

TryToGetT(FuncT, FuncException, T, Action) try-expression. Instead of:
C#
ComplexButUninterestingType r; try { r = ...; } catch { ... }
just:
C#
var r = TryToGet(() => ..., ex => ...);
dot.
TryToGetT(FuncT, DictionaryString, FuncException, T, FuncException, T, Action) Try-expression with dictionary and fallback resolver.

See Also