ActivatorUtilities Class

Provides utilities for activating factory.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.Services.ActivatorUtilities

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

Syntax

'Declaration
Public NotInheritable Class ActivatorUtilities
'Usage
public static class ActivatorUtilities
public ref class ActivatorUtilities abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ActivatorUtilities =  class end
public final class ActivatorUtilities

The ActivatorUtilities type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateFactory Creates an instance of factory.
Public methodStatic member CreateInstance Creates an instance of the services object.
Public methodStatic member GetServiceOrCreateInstance Indicates whether to get the service or create an instance of the specified object.

Top

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

Reference

Microsoft.Owin.Hosting.Services Namespace