1 instantiation of MemoizedFunction
Shared (1)
Memoization\Memoize.cs (1)
59
=> new
MemoizedFunction
<TParameter1, TParameter2, TResult>(f).Function;
11 references to MemoizedFunction
Shared (4)
Memoization\MemoizedFunction.cs (4)
107
internal readonly struct Args : IEquatable<
MemoizedFunction
<TParameter1, TParameter2, TResult>.Args>
122
public override bool Equals(object? obj) => obj is
MemoizedFunction
<TParameter1, TParameter2, TResult>.Args args && Equals(args);
124
public bool Equals(
MemoizedFunction
<TParameter1, TParameter2, TResult>.Args other) =>
136
/// Initializes a new instance of the <see cref="
MemoizedFunction
{TParameter1, TParameter2, TResult}"/> class.
Shared.Tests (7)
Memoization\MemoizeTests.cs (7)
176
var a = new
MemoizedFunction
<int, int, int>.Args(0, 0);
187
var a = new
MemoizedFunction
<int, int, int>.Args(0, 0);
188
var b = new
MemoizedFunction
<int, int, int>.Args(0, 0);
202
var a = new
MemoizedFunction
<int, int, int>.Args(1, 1);
203
var b = new
MemoizedFunction
<int, int, int>.Args(1, 1);
204
var c = new
MemoizedFunction
<int, int, int>.Args(1, 1);
221
static
MemoizedFunction
<int, int, int>.Args Args(int x, int y) => new(x, y);