8 references to Redact
Microsoft.Extensions.Compliance.Abstractions (3)
Redaction\RedactionStringBuilderExtensions.cs (1)
64
return stringBuilder.Append(redactor.
Redact
(value));
Redaction\Redactor.cs (2)
94
public virtual string Redact(string? source) =>
Redact
(source.AsSpan());
150
return
Redact
(((char[])(object)value).AsSpan());
Microsoft.Extensions.Compliance.Abstractions.Tests (1)
Redaction\RedactorTest.cs (1)
20
Assert.Equal(string.Empty, r.
Redact
(string.Empty.AsSpan()));
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpHeadersRedactor.cs (2)
61
return redactor.
Redact
(firstItem);
108
return redactor.
Redact
(firstItem);
Microsoft.Extensions.Telemetry (2)
Http\HttpRouteParser.cs (2)
249
return redactor.
Redact
(httpPathAsSpan.Slice(startIndex, length));
279
return redactor.
Redact
(httpPathAsSpan.Slice(startIndex, length));