2 writes to Value
Microsoft.Extensions.Compliance.Abstractions (2)
Classification\DataClassification.cs (2)
42
Value
= Throw.IfNullOrWhitespace(value);
48
Value
= value;
11 references to Value
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (3)
Logging\HttpLoggingServiceExtensionsTests.cs (3)
82
Assert.Equal("Value1", options.RouteParameterDataClasses["one"].
Value
);
86
Assert.Equal("Value2", options.RequestHeadersDataClasses["two"].
Value
);
90
Assert.Equal("Value3", options.ResponseHeadersDataClasses["three"].
Value
);
Microsoft.Extensions.Compliance.Abstractions (7)
Classification\DataClassification.cs (5)
63
public bool Equals(DataClassification other) => other.TaxonomyName == TaxonomyName && other.
Value
==
Value
;
69
public override int GetHashCode() => HashCode.Combine(TaxonomyName,
Value
);
97
public override string ToString() => string.IsNullOrWhiteSpace(TaxonomyName) ?
Value
: $"{TaxonomyName}:{
Value
}";
Classification\DataClassificationSet.cs (2)
118
return result != 0 ? result : string.Compare(x.
Value
, y.
Value
, StringComparison.Ordinal);
Microsoft.Extensions.Compliance.Abstractions.Tests (1)
Classification\DataClassificationTests.cs (1)
18
Assert.Equal(Value, dc.
Value
);