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