1 write to _hostEnvironment
Microsoft.Extensions.AmbientMetadata.Application (1)
ApplicationMetadataSource.cs (1)
28
_hostEnvironment
= Throw.IfNull(hostEnvironment);
2 references to _hostEnvironment
Microsoft.Extensions.AmbientMetadata.Application (2)
ApplicationMetadataSource.cs (2)
46
{ $"{SectionName}:{nameof(ApplicationMetadata.EnvironmentName)}",
_hostEnvironment
.EnvironmentName },
47
{ $"{SectionName}:{nameof(ApplicationMetadata.ApplicationName)}",
_hostEnvironment
.ApplicationName },