Click or drag to resize
FuncExtensionsMemoize Method
Overload List
  Name Description
Public method Static member Code example MemoizeT, TResult(FuncT, TResult)

Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache of the mapping from arguments to results and, when calls with the same arguments are repeated often, has higher performance at the expense of higher memory use.

A limitless cache is used.

Public method Static member Code example MemoizeT1, T2, TResult(FuncT1, T2, TResult)

Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache of the mapping from arguments to results and, when calls with the same arguments are repeated often, has higher performance at the expense of higher memory use.

A limitless cache is used.

Public method Static member Code example MemoizeT1, T2, T3, TResult(FuncT1, T2, T3, TResult)

Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache of the mapping from arguments to results and, when calls with the same arguments are repeated often, has higher performance at the expense of higher memory use.

A limitless cache is used.

Public method Static member Code example MemoizeT, TResult(FuncT, TResult, ICacheT, TResult)
Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache of the mapping from arguments to results and, when calls with the same arguments are repeated often, has higher performance at the expense of higher memory use.
Public method Static member Code example MemoizeT1, T2, TResult(FuncT1, T2, TResult, ICacheTupleT1, T2, TResult)
Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache of the mapping from arguments to results and, when calls with the same arguments are repeated often, has higher performance at the expense of higher memory use.
Public method Static member Code example MemoizeT1, T2, T3, TResult(FuncT1, T2, T3, TResult, ICacheTupleT1, T2, T3, TResult)
Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache of the mapping from arguments to results and, when calls with the same arguments are repeated often, has higher performance at the expense of higher memory use.
Top
See Also