Diff<>(old, new, comparer, predicate, postProcessor) NewArray<>(size1, size2, size3, initialiser) RunMain(main, onUnhandledMain, onUnhandledThread) RunMain(main, onUnhandledMain, onUnhandledThread)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: TResult OnExceptionDefault<TResult>(Func<TResult>, TResult)Declarationpublic static TResult OnExceptionDefault<TResult>(
Func<TResult> func,
TResult default
) Summary
Evaluates the specified code and returns its result. If the code throws any exceptions, returns default instead. Generic type parametersTResult | This type parameter is not documented. |
ParametersFunc<TResult> | func |
The code to be executed. | TResult | default |
Value to return in case of failure. |
|