'宣言
Public Overloads Shared Function Memoize (Of T,TResult)( _ ByVal func As Func(Of T,TResult), _ Optional ByVal threadSafe As Boolean, _ Optional ByVal comparer As IEqualityComparer(Of T), _ Optional ByVal useCacheCondition As Func(Of T,Boolean) _ ) As Func(Of T,TResult)
public static Func<T,TResult> Memoize<T,TResult>( Func<T,TResult> func, bool threadSafe, IEqualityComparer<T> comparer, Func<T,bool> useCacheCondition )
パラメータ
- func
- threadSafe
- comparer
- useCacheCondition
型パラメータ
- T
- TResult