6 references to DataClassificationSet
Microsoft.Extensions.Compliance.Abstractions.Tests (2)
Classification\DataClassificationSetTests.cs (2)
16
var dc2 = new
DataClassificationSet
(new[] { FakeTaxonomy.PublicData });
38
var dc2 = new
DataClassificationSet
(new[] { FakeTaxonomy.PublicData });
Microsoft.Extensions.Compliance.Redaction.Tests (1)
RedactorProviderTests.cs (1)
76
var dc1LogicalCopy = new
DataClassificationSet
(new[] { new DataClassification("DummyTaxonomy", "Classification") });
Microsoft.Extensions.Telemetry.Abstractions.Tests (2)
Logging\LoggerMessageStateTests.cs (2)
43
lms.ClassifiedTagArray[index] = new(PropName, Value,
new
(FakeTaxonomy.PrivateData, FakeTaxonomy.PublicData));
51
Assert.Equal(
new
(FakeTaxonomy.PrivateData, FakeTaxonomy.PublicData), lms.ClassifiedTagArray[0].Classifications);
Microsoft.Gen.Logging.Generated.Tests (1)
Utils.cs (1)
86
builder.SetRedactor<HashRedactor>(new
DataClassificationSet
(new PrivateDataAttribute().Classification, new PublicDataAttribute().Classification));