Click or drag to resize
DigitalRuneMicrosoft.Practices.ServiceLocation Namespace
The Common Service Locator library contains a shared interface for service location which application and framework developers can reference.
Classes
  ClassDescription
Public classActivationException
The standard exception thrown when a ServiceLocator has an error in resolving an object.
Public classServiceLocator
This class provides the ambient container for this application. If your framework defines such an ambient container, use ServiceLocator.Current to get it.
Public classServiceLocatorImplBase
This class is a helper that provides a default implementation for most of the methods of IServiceLocator.
Interfaces
  InterfaceDescription
Public interfaceIServiceLocator
The generic Service Locator interface. This interface is used to retrieve services (instances identified by type and optional name) from a container.
Delegates
  DelegateDescription
Public delegateServiceLocatorProvider
This delegate type is used to provide a method that will return the current container. Used with the ServiceLocator static accessor class.