Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: Func<TResult> Lambda<TResult>(Func<TResult>)

  • Declared in: RT.Util.Ut

Declaration

public static Func<TResult> Lambda<TResult>(
    Func<TResult> method
)

Summary

Allows the use of C#’s powerful type inference when declaring local lambdas whose delegate type doesn't make any difference.

Generic type parameters

TResultThis type parameter is not documented.