ServiceProvider.Add<TService, TImplementation> Method
Adds a specified service provider.
Namespace: Microsoft.Owin.Hosting.Services
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Syntax
'Declaration
Public Overridable Function Add(Of TService, TImplementation) As ServiceProvider
'Usage
Dim instance As ServiceProvider
Dim returnValue As ServiceProvider
returnValue = instance.Add()
public virtual ServiceProvider Add<TService, TImplementation>()
public:
generic<typename TService, typename TImplementation>
virtual ServiceProvider^ Add()
abstract Add : unit -> ServiceProvider
override Add : unit -> ServiceProvider
JScript does not support generic types and methods.
Type Parameters
- TService
The type of service.
- TImplementation
The type of implementation.
Return Value
Type: Microsoft.Owin.Hosting.Services.ServiceProvider
The added ServiceProvider.