Class AbpAspNetCoreServiceCollectionExtensions
Inheritance
object
AbpAspNetCoreServiceCollectionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public static class AbpAspNetCoreServiceCollectionExtensions
Methods
GetHostingEnvironment(IServiceCollection)
Declaration
public static IWebHostEnvironment GetHostingEnvironment(this IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services |
Returns
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment |