11 references to Instance
Microsoft.Extensions.Compliance.Redaction (1)
RedactionBuilder.cs (1)
29Services.TryAddEnumerable(ServiceDescriptor.Singleton<Redactor>(ErasingRedactor.Instance));
Microsoft.Extensions.Compliance.Redaction.Tests (9)
ErasingRedactorTests.cs (4)
14Redactor redactor = ErasingRedactor.Instance; 27Redactor redactor = ErasingRedactor.Instance; 41Redactor redactor = ErasingRedactor.Instance; 55var e = ErasingRedactor.Instance.Redact("any");
RedactorProviderTests.cs (5)
17redactors: [ErasingRedactor.Instance], 29redactors: new Redactor[] { ErasingRedactor.Instance, NullRedactor.Instance }, 48redactors: new Redactor[] { ErasingRedactor.Instance, NullRedactor.Instance }, 106redactors: new Redactor[] { ErasingRedactor.Instance, new FakePlaintextRedactor() }, 129ErasingRedactor.Instance,
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
Benchmarks\ErasingRedactorProvider.cs (1)
13public Redactor GetRedactor(DataClassificationSet classifications) => ErasingRedactor.Instance;