Click or drag to resize

AutofacServiceLocator Class

Autofac implementation of the Microsoft CommonServiceLocator.
Inheritance Hierarchy
SystemObject
  ServiceLocatorImplBase
    Autofac.Extras.CommonServiceLocatorAutofacServiceLocator

Namespace:  Autofac.Extras.CommonServiceLocator
Assembly:  Autofac.Extras.CommonServiceLocator (in Autofac.Extras.CommonServiceLocator.dll) Version: 6.0.1+cbf7aec014129cc35f41fd7c7acb740dd2515df2
Syntax
public class AutofacServiceLocator : ServiceLocatorImplBase

The AutofacServiceLocator type exposes the following members.

Constructors
  NameDescription
Public methodAutofacServiceLocator
Initializes a new instance of the AutofacServiceLocator class.
Top
Methods
  NameDescription
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.)
Top
See Also