ConfigBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConfigBuilder() |
Initializes a new instance of the ConfigBuilder class with default settings. |
ConfigBuilder(ConfigOptions) |
Initializes a new instance of the ConfigBuilder class a given |
ConfigBuilder(ConfigOptions, Action<ContainerBuilder>) |
Obsolete.
Initializes a new instance of the ConfigBuilder class a given |
ConfigBuilder(ConfigOptions, Action<HttpConfiguration,ContainerBuilder>) |
Initializes a new instance of the ConfigBuilder class a given |
ConfigBuilder()
Initializes a new instance of the ConfigBuilder class with default settings.
public ConfigBuilder ();
Public Sub New ()
Applies to
ConfigBuilder(ConfigOptions)
Initializes a new instance of the ConfigBuilder class a given options
instance providing custom settings.
public ConfigBuilder (Microsoft.WindowsAzure.Mobile.Service.ConfigOptions options);
new Microsoft.WindowsAzure.Mobile.Service.ConfigBuilder : Microsoft.WindowsAzure.Mobile.Service.ConfigOptions -> Microsoft.WindowsAzure.Mobile.Service.ConfigBuilder
Public Sub New (options As ConfigOptions)
Parameters
- options
- ConfigOptions
The ConfigOptions.
Applies to
ConfigBuilder(ConfigOptions, Action<ContainerBuilder>)
Caution
Please use the overload which takes an Action<HttpConfiguration, ContainerBuilder>
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.
[System.Obsolete("Please use the overload which takes an Action<HttpConfiguration, ContainerBuilder>")]
public ConfigBuilder (Microsoft.WindowsAzure.Mobile.Service.ConfigOptions options, Action<Autofac.ContainerBuilder> dependencyInjectionConfig);
[<System.Obsolete("Please use the overload which takes an Action<HttpConfiguration, ContainerBuilder>")>]
new Microsoft.WindowsAzure.Mobile.Service.ConfigBuilder : Microsoft.WindowsAzure.Mobile.Service.ConfigOptions * Action<Autofac.ContainerBuilder> -> Microsoft.WindowsAzure.Mobile.Service.ConfigBuilder
Public Sub New (options As ConfigOptions, dependencyInjectionConfig As Action(Of ContainerBuilder))
Parameters
- options
- ConfigOptions
The ConfigOptions.
- dependencyInjectionConfig
- Action<Autofac.ContainerBuilder>
An Action<T> which is called when the Autofac dependency engine is configured.
- Attributes
Applies to
ConfigBuilder(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.
public ConfigBuilder (Microsoft.WindowsAzure.Mobile.Service.ConfigOptions options, Action<System.Web.Http.HttpConfiguration,Autofac.ContainerBuilder> autofacConfig);
new Microsoft.WindowsAzure.Mobile.Service.ConfigBuilder : Microsoft.WindowsAzure.Mobile.Service.ConfigOptions * Action<System.Web.Http.HttpConfiguration, Autofac.ContainerBuilder> -> Microsoft.WindowsAzure.Mobile.Service.ConfigBuilder
Public Sub New (options As ConfigOptions, autofacConfig As Action(Of HttpConfiguration, ContainerBuilder))
Parameters
- options
- ConfigOptions
The ConfigOptions.
- autofacConfig
- Action<System.Web.Http.HttpConfiguration,Autofac.ContainerBuilder>
An Action<T1,T2> which is called when the Autofac dependency engine is configured.
Applies to
Azure SDK for .NET