1 instantiation of MemoizedFunction
Microsoft.Extensions.Telemetry (1)
src\Shared\Memoization\Memoize.cs (1)
42
=> new
MemoizedFunction
<TParameter, TResult>(f).Function;
4 references to MemoizedFunction
Microsoft.Extensions.Telemetry (4)
src\Shared\Memoization\MemoizedFunction.cs (4)
39
internal readonly struct Arg : IEquatable<
MemoizedFunction
<TParameter, TResult>.Arg>
51
public override bool Equals(object? obj) => obj is
MemoizedFunction
<TParameter, TResult>.Arg arg && Equals(arg);
53
public bool Equals(
MemoizedFunction
<TParameter, TResult>.Arg other) => EqualityComparer<TParameter>.Default.Equals(Arg1, other.Arg1);
63
/// Initializes a new instance of the <see cref="
MemoizedFunction
{TParameter1, TResult}"/> class.