1 write to _values
Shared (1)
Memoization\MemoizedFunction.cs (1)
142
_values
= new(Concurrency, Capacity);
2 references to _values
Shared (2)
Memoization\MemoizedFunction.cs (2)
150
if (
_values
.TryGetValue(args, out var result))
155
return
_values
.GetOrAdd(args, new Lazy<TResult>(() => _function(arg1, arg2))).Value;