Udostępnij za pośrednictwem


IConfigBuilder Interface

Definition

Provides an abstraction for configuring a service. Each method in this interface is called as part of the configuration process enabling a service to participate and change the configuration during every step of the process.

public interface IConfigBuilder
type IConfigBuilder = interface
Public Interface IConfigBuilder
Derived

Methods

ConfigureOwin(HttpConfiguration)

This step is called as part of configuring the OWIN application pipeline.

ConfigureWebApi(HttpConfiguration, IDictionary<Type,Object>)

This step is called as part of configuring ASP.NET Web API. It is passed the config which it can modify in place and a set of serviceInstances infrastructure services which the service depends on. These infrastructure services must be registered with the dependency resolver so that the runtime can obtain them at runtime.

Applies to