ServiceProvider Class

 

The default IServiceProvider.

Namespace:   Microsoft.Owin.Hosting.Services
Assembly:  Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)

System::Object
  Microsoft.Owin.Hosting.Services::ServiceProvider

public ref class ServiceProvider : IServiceProvider

NameDescription
System_CAPS_pubmethodServiceProvider()

Initializes a new instance of the ServiceProvider class.

NameDescription
System_CAPS_pubmethodAdd(Type^, Func<Object^>^)

Specify that services of the given type should be created with the given serviceFactory.

System_CAPS_pubmethodAdd(Type^, Type^)

Specify that services of the type serviceType should be fulfilled by the type implementationType.

System_CAPS_pubmethodAdd<TService, TImplementation>()

Specify that services of the type TService should be fulfilled by the type TImplementation.

System_CAPS_pubmethodAddInstance(Type^, Object^)

Add an instance of the given type to the list of providers.

System_CAPS_pubmethodAddInstance<TService>(Object^)

Add an instance of type TService to the list of providers.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetService(Type^)

Gets the service object of the specified type.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveAll(Type^)

Remove all occurrences of the given type from the provider.

System_CAPS_pubmethodRemoveAll<T>()

Remove all occurrences of the given type from the provider.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubmethodGetService<T>()

Retrieve a service of type T from the IServiceProvider.(Defined by ServiceProviderExtensions.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: