Click or drag to resize
DigitalRuneServiceLocator Class
This class provides the ambient container for this application. If your framework defines such an ambient container, use ServiceLocator.Current to get it.
Inheritance Hierarchy
SystemObject
  Microsoft.Practices.ServiceLocationServiceLocator

Namespace: Microsoft.Practices.ServiceLocation
Assembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public static class ServiceLocator

The ServiceLocator type exposes the following members.

Methods
  NameDescription
Public methodStatic memberSetLocatorProvider
Set the delegate that is used to retrieve the current container.
Top
Properties
  NameDescription
Public propertyStatic memberCurrent
The current ambient container.
Public propertyStatic memberIsLocationProviderSet
Top
See Also