1 implementation of IWebAssemblyHostEnvironment
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostEnvironment.cs (1)
6internal sealed class WebAssemblyHostEnvironment : IWebAssemblyHostEnvironment
13 references to IWebAssemblyHostEnvironment
Microsoft.AspNetCore.Components.WebAssembly (12)
Hosting\WebAssemblyHostBuilder.cs (2)
187Services.AddSingleton<IWebAssemblyHostEnvironment>(hostEnvironment); 251public IWebAssemblyHostEnvironment HostEnvironment { get; }
Hosting\WebassemblyHostBuilderExtensions.cs (1)
34Action<IWebAssemblyHostEnvironment, ServiceProviderOptions> configure)
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)
214typeof(IWebAssemblyHostEnvironment),