Partager via


UnityServiceLocator Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The UnityServiceLocator type exposes the following members.

Constructors

  Name Description
Public method UnityServiceLocator
Initializes a new instance of the UnityServiceLocator class

Methods

  Name Description
Public method Dispose
Releases all resources used by the UnityServiceLocator
Protected method DoGetAllInstances (Overrides ServiceLocatorImplBase.DoGetAllInstances(Type).)
Protected method DoGetInstance (Overrides ServiceLocatorImplBase.DoGetInstance(Type, String).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected method FormatActivateAllExceptionMessage (Inherited from ServiceLocatorImplBase.)
Protected method FormatActivationExceptionMessage (Inherited from ServiceLocatorImplBase.)
Public method GetAllInstances(Type) (Inherited from ServiceLocatorImplBase.)
Public method GetAllInstances<TService>() (Inherited from ServiceLocatorImplBase.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetInstance(Type) (Inherited from ServiceLocatorImplBase.)
Public method GetInstance(Type, String) (Inherited from ServiceLocatorImplBase.)
Public method GetInstance<TService>() (Inherited from ServiceLocatorImplBase.)
Public method GetInstance<TService>(String) (Inherited from ServiceLocatorImplBase.)
Public method GetService (Inherited from ServiceLocatorImplBase.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also

UnityServiceLocator Class

Microsoft.Practices.Unity Namespace