2 references to Memoize
Microsoft.Extensions.Telemetry (2)
Latency\Internal\LatencyConsoleExporter.cs (2)
22
private static readonly Func<int, CompositeFormat> _rows =
Memoize
.Function((int nameColumnWidth) => CompositeFormat.Parse($" {{0,-{nameColumnWidth}}} | {{1}}" + Environment.NewLine));
28
private static readonly Func<int, string> _dashes =
Memoize
.Function<int, string>(num => new('-', num));