Show / Hide Table of Contents

Class ServiceCollectionConfigurationExtensions

Inheritance
object
ServiceCollectionConfigurationExtensions
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.Core.dll
Syntax
public static class ServiceCollectionConfigurationExtensions

Methods

GetConfiguration(IServiceCollection)

Declaration
public static IConfiguration GetConfiguration(this IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services
Returns
Type Description
IConfiguration

GetConfigurationOrNull(IServiceCollection)

Declaration
public static IConfiguration? GetConfigurationOrNull(this IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services
Returns
Type Description
IConfiguration

ReplaceConfiguration(IServiceCollection, IConfiguration)

Declaration
public static IServiceCollection ReplaceConfiguration(this IServiceCollection services, IConfiguration configuration)
Parameters
Type Name Description
IServiceCollection services
IConfiguration configuration
Returns
Type Description
IServiceCollection
In this article
Back to top Powered by Volosoft