ServicesFactory.Create Method (IDictionary<String, String>, Action<ServiceProvider>)
Creates a specified service provider.
Namespace: Microsoft.Owin.Hosting.Services
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Syntax
'Declaration
Public Shared Function Create ( _
settings As IDictionary(Of String, String), _
configuration As Action(Of ServiceProvider) _
) As IServiceProvider
'Usage
Dim settings As IDictionary(Of String, String)
Dim configuration As Action(Of ServiceProvider)
Dim returnValue As IServiceProvider
returnValue = ServicesFactory.Create(settings, _
configuration)
public static IServiceProvider Create(
IDictionary<string, string> settings,
Action<ServiceProvider> configuration
)
public:
static IServiceProvider^ Create(
IDictionary<String^, String^>^ settings,
Action<ServiceProvider^>^ configuration
)
static member Create :
settings:IDictionary<string, string> *
configuration:Action<ServiceProvider> -> IServiceProvider
public static function Create(
settings : IDictionary<String, String>,
configuration : Action<ServiceProvider>
) : IServiceProvider
Parameters
- settings
Type: System.Collections.Generic.IDictionary<String, String>
The settings.
- configuration
Type: System.Action<ServiceProvider>
The configuration.
Return Value
Type: System.IServiceProvider
The created service provider.