Click or drag to resize

AutofacServiceLocator Class

Autofac implementation of the Microsoft CommonServiceLocator.
Inheritance Hierarchy

Namespace:  Autofac.Extras.CommonServiceLocator
Assembly:  Autofac.Extras.CommonServiceLocator (in Autofac.Extras.CommonServiceLocator.dll) Version: 5.0.0-develop-00231
public class AutofacServiceLocator : ServiceLocatorImplBase

The AutofacServiceLocator type exposes the following members.

Public methodAutofacServiceLocator
Initializes a new instance of the AutofacServiceLocator class.
Protected methodDoGetAllInstances
Resolves all requested service instances.
(Overrides ServiceLocatorImplBase.DoGetAllInstances(Type).)
Protected methodDoGetInstance
Resolves the requested service instance.
(Overrides ServiceLocatorImplBase.DoGetInstance(Type, String).)
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 (Inherited from ServiceLocatorImplBase.)
Protected methodFormatActivationExceptionMessage (Inherited from ServiceLocatorImplBase.)
Public methodGetAllInstances(Type) (Inherited from ServiceLocatorImplBase.)
Public methodGetAllInstances``1 (Inherited from ServiceLocatorImplBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInstance(Type) (Inherited from ServiceLocatorImplBase.)
Public methodGetInstance(Type, String) (Inherited from ServiceLocatorImplBase.)
Public methodGetInstance``1 (Inherited from ServiceLocatorImplBase.)
Public methodGetInstance``1(String) (Inherited from ServiceLocatorImplBase.)
Public methodGetService (Inherited from ServiceLocatorImplBase.)
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.)
See Also