@using System @using System.Globalization @using System.Linq @using Microsoft.AspNet.Diagnostics @using Microsoft.AspNet.Diagnostics.Views @using Microsoft.Extensions.PlatformAbstractions; @functions { public RuntimeInfoPage(RuntimeInfoPageModel model) { Model = model; } public RuntimeInfoPageModel Model { get; set; } } @{ Response.ContentType = "text/html; charset=utf-8"; } @Resources.RuntimeInfoPage_Title

@Resources.RuntimeInfoPage_Environment

@Resources.RuntimeInfoPage_OperatingSystem @(string.IsNullOrWhiteSpace(Model.OperatingSystem) ? Resources.RuntimeInfoPage_OperatingSystemFail : Model.OperatingSystem)

@Resources.RuntimeInfoPage_RuntimeVersion @(string.IsNullOrWhiteSpace(Model.Version) ? Resources.RuntimeInfoPage_RuntimeVersionFail : Model.Version)

@Resources.RuntimeInfoPage_RuntimeArchitecture @(string.IsNullOrWhiteSpace(Model.RuntimeArchitecture) ? Resources.RuntimeInfoPage_RuntimeArchitectureFail : Model.RuntimeArchitecture)

@Resources.RuntimeInfoPage_RuntimeType @(string.IsNullOrWhiteSpace(Model.RuntimeType) ? Resources.RuntimeInfoPage_RuntimeTypeFail : Model.RuntimeType)

@Resources.RuntimeInfoPage_Packages

@if (@Resources.RuntimeInfoPage_Packages == null) {

@Resources.RuntimeInfoPage_PackagesFail

} else { @{ bool even = false; } @foreach (var package in Model.References.OrderBy(package => package.Name.ToLowerInvariant())) { @{ even = !even; } }
@Resources.RuntimeInfoPage_PackageNameColumnName @Resources.RuntimeInfoPage_PackageVersionColumnName @Resources.RuntimeInfoPage_PackagePathColumnName
@package.Name @package.Version @package.Path
}