SaaS CMS has officially launched! Learn more now.

Class ServiceConfigurationProviderExtensions

Extension methods for IServiceConfigurationProvider that can be used to get similar configuration methods as in previous versions.

Inheritance
System.Object
ServiceConfigurationProviderExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.ServiceLocation.Compatibility
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
public static class ServiceConfigurationProviderExtensions

Methods

Configure(IServiceConfigurationProvider, Action<ConfigurationBuilder>)

Use to configure services for the application.

Declaration
public static void Configure(this IServiceConfigurationProvider services, Action<ConfigurationBuilder> expression)
Parameters
Type Name Description
IServiceConfigurationProvider services

The extended service configuration provider

System.Action<ConfigurationBuilder> expression

The configuration expression