ConfigBuilder Constructor (ConfigOptions, Action<HttpConfiguration, ContainerBuilder>)
Initializes a new instance of the ConfigBuilder class a given options instance providing custom settings and an Action<T1, T2> 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)
Syntax
public ConfigBuilder(
ConfigOptions options,
Action<HttpConfiguration, ContainerBuilder> autofacConfig
)
public:
ConfigBuilder(
ConfigOptions^ options,
Action<HttpConfiguration^, ContainerBuilder^>^ autofacConfig
)
new :
options:ConfigOptions *
autofacConfig:Action<HttpConfiguration, ContainerBuilder> -> ConfigBuilder
Public Sub New (
options As ConfigOptions,
autofacConfig As Action(Of HttpConfiguration, ContainerBuilder)
)
Parameters
options
Type: Microsoft.WindowsAzure.Mobile.Service.ConfigOptionsThe ConfigOptions.
autofacConfig
Type: System.Action<HttpConfiguration, ContainerBuilder>An Action<T1, T2> which is called when the Autofac dependency engine is configured.
See Also
ConfigBuilder Overload
ConfigBuilder Class
Microsoft.WindowsAzure.Mobile.Service Namespace
Return to top