ActivatorUtilities Class
Helper code for the various activator services.
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CreateFactory(Type^) | Creates a factory to instantiate a type using constructor service injection if possible. |
![]() ![]() | CreateInstance(IServiceProvider^, Type^) | Instantiate an object of the given type, using constructor service injection if possible. |
![]() ![]() | GetServiceOrCreateInstance(IServiceProvider^, Type^) | Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:

