Click or drag to resize
DigitalRuneServiceLocatorImplBase Class
This class is a helper that provides a default implementation for most of the methods of IServiceLocator.
Inheritance Hierarchy
SystemObject
  Microsoft.Practices.ServiceLocationServiceLocatorImplBase

Namespace: Microsoft.Practices.ServiceLocation
Assembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public abstract class ServiceLocatorImplBase : IServiceLocator, 
	IServiceProvider

The ServiceLocatorImplBase type exposes the following members.

Constructors
  NameDescription
Protected methodServiceLocatorImplBase
Initializes a new instance of the ServiceLocatorImplBase class
Top
Methods
  NameDescription
Protected methodDoGetAllInstances
When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.
Protected methodDoGetInstance
When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFormatActivateAllExceptionMessage
Format the exception message for use in an ActivationException that occurs while resolving multiple service instances.
Protected methodFormatActivationExceptionMessage
Format the exception message for use in an ActivationException that occurs while resolving a single service.
Public methodGetAllInstances(Type)
Get all instances of the given serviceType currently registered in the container.
Public methodGetAllInstancesTService
Get all instances of the given TService currently registered in the container.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetInstance(Type)
Get an instance of the given serviceType.
Public methodGetInstance(Type, String)
Get an instance of the given named serviceType.
Public methodGetInstanceTService
Get an instance of the given TService.
Public methodGetInstanceTService(String)
Get an instance of the given named TService.
Public methodGetService
Implementation of GetService(Type).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also