1 implementation of IWebAssemblyHostEnvironment
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostEnvironment.cs (1)
6internal sealed class WebAssemblyHostEnvironment : IWebAssemblyHostEnvironment
12 references to IWebAssemblyHostEnvironment
Microsoft.AspNetCore.Components.WebAssembly (11)
Hosting\WebAssemblyHostBuilder.cs (2)
177Services.AddSingleton<IWebAssemblyHostEnvironment>(hostEnvironment); 241public IWebAssemblyHostEnvironment HostEnvironment { get; }
Hosting\WebAssemblyHostEnvironmentExtensions.cs (9)
7/// Static class that adds extension methods to <see cref="IWebAssemblyHostEnvironment"/>. 14/// <param name="hostingEnvironment">An instance of <see cref="IWebAssemblyHostEnvironment"/>.</param> 16public static bool IsDevelopment(this IWebAssemblyHostEnvironment hostingEnvironment) 26/// <param name="hostingEnvironment">An instance of <see cref="IWebAssemblyHostEnvironment"/>.</param> 28public static bool IsStaging(this IWebAssemblyHostEnvironment hostingEnvironment) 38/// <param name="hostingEnvironment">An instance of <see cref="IWebAssemblyHostEnvironment"/>.</param> 40public static bool IsProduction(this IWebAssemblyHostEnvironment hostingEnvironment) 50/// <param name="hostingEnvironment">An instance of <see cref="IWebAssemblyHostEnvironment"/>.</param> 54this IWebAssemblyHostEnvironment hostingEnvironment,
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Hosting\WebAssemblyHostBuilderTest.cs (1)
217typeof(IWebAssemblyHostEnvironment),