ConfigBuilder Constructor (ConfigOptions^, Action<ContainerBuilder^>^)

 
Note: This API is now obsolete.

Initializes a new instance of the ConfigBuilder class a given options instance providing custom settings and an Action<T> which is called when Autofac is configured allowing the application to inject additional dependencies as well as replacing existing dependencies.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

public:
[ObsoleteAttribute("Please use the overload which takes an Action<HttpConfiguration, ContainerBuilder>")]
ConfigBuilder(
	ConfigOptions^ options,
	Action<ContainerBuilder^>^ dependencyInjectionConfig
)

Parameters

options
Type: Microsoft.WindowsAzure.Mobile.Service::ConfigOptions^

The ConfigOptions.

dependencyInjectionConfig
Type: System::Action<ContainerBuilder^>^

An Action<T> which is called when the Autofac dependency engine is configured.

Return to top
Show: