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 |
| Extension method: TResult? NullOr<TInput, TResult>(this TInput, FuncClass<TInput, TResult?>)Declarationpublic static TResult? NullOr<TInput, TResult>(
this TInput input,
FuncClass<TInput, TResult?> lambda
) Summary
Returns null if the input is null, otherwise the result of the specified lambda when applied to the input. Generic type parametersTInput |
Type of the input value. | TResult |
Type of the result from the lambda. |
Parametersthis TInput | input |
Input value to check for null. | FuncClass<TInput, TResult?> | lambda |
Function to apply the input value to if it is not null. |
|