Share via


ServiceProviderExtensions Class

 

Extension methods for IServiceProvider.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.Services.ServiceProviderExtensions

Syntax

public static class ServiceProviderExtensions
[ExtensionAttribute]
public ref class ServiceProviderExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ServiceProviderExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ServiceProviderExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetService<T>(IServiceProvider)

Retrieve a service of type T from the IServiceProvider.

Thread Safety

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

See Also

Microsoft.Owin.Hosting.Services Namespace

Return to top