7 writes to BuildVersion
Microsoft.Extensions.AmbientMetadata.Application.Tests (6)
AcceptanceTests.cs (2)
21
BuildVersion
= _fixture.Create<string>(),
54
metadata.
BuildVersion
= _metadata.BuildVersion;
ApplicationMetadataExtensionsTests.cs (3)
94
BuildVersion
= _fixture.Create<string>(),
126
BuildVersion
= _fixture.Create<string>(),
135
m.
BuildVersion
= expectedMetadata.BuildVersion;
ApplicationMetadataTests.cs (1)
60
_sut.
BuildVersion
= testValue;
Microsoft.Extensions.Telemetry.Tests (1)
Enrichment\ApplicationLogEnricherTests.cs (1)
68
BuildVersion
= buildVersion,
11 references to BuildVersion
Microsoft.Extensions.AmbientMetadata.Application.Tests (8)
AcceptanceTests.cs (3)
33
options.
BuildVersion
.Should().Be(_metadata.
BuildVersion
);
54
metadata.BuildVersion = _metadata.
BuildVersion
;
ApplicationMetadataExtensionsTests.cs (3)
103
[$"{nameof(ApplicationMetadata)}:{nameof(ApplicationMetadata.
BuildVersion
)}"] = expectedMetadata.
BuildVersion
,
135
m.BuildVersion = expectedMetadata.
BuildVersion
;
ApplicationMetadataTests.cs (2)
31
applicationMetadata.
BuildVersion
.Should().BeNull();
62
_sut.
BuildVersion
.Should().Be(testValue);
Microsoft.Extensions.Telemetry (3)
Enrichment\ApplicationLogEnricher.cs (2)
53
if (enricherOptions.BuildVersion && applicationMetadata.
BuildVersion
is not null)
55
l.Add(new(ApplicationEnricherTags.BuildVersion, applicationMetadata.
BuildVersion
));
Enrichment\ApplicationLogEnricherOptions.cs (1)
38
/// Gets or sets a value indicating whether <see cref="ApplicationMetadata.
BuildVersion
"/> is used for logs enrichment.