Click or drag to resize

ComponentRegistrar Class

Default component configuration processor.
Inheritance Hierarchy
SystemObject
  Autofac.Configuration.CoreComponentRegistrar

Namespace:  Autofac.Configuration.Core
Assembly:  Autofac.Configuration (in Autofac.Configuration.dll) Version: 4.1.0+032145bf00b17ede26b58c319739706cfab51c10
Syntax
public class ComponentRegistrar : IComponentRegistrar

The ComponentRegistrar type exposes the following members.

Constructors
  NameDescription
Public methodComponentRegistrar
Initializes a new instance of the ComponentRegistrar class
Top
Methods
  NameDescription
Protected methodEnumerateComponentServices
Reads configuration data for a component and enumerates the set of configured services for the component.
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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.)
Protected methodRegisterComponentMetadataTReflectionActivatorData, TSingleRegistrationStyle
Reads configuration data for a component's metadata and updates the component registration as needed.
Protected methodRegisterComponentParametersTReflectionActivatorData, TSingleRegistrationStyle
Reads configuration data for a component's configured constructor parameter values and updates the component registration as needed.
Protected methodRegisterComponentPropertiesTReflectionActivatorData, TSingleRegistrationStyle
Reads configuration data for a component's configured property values and updates the component registration as needed.
Protected methodRegisterComponentServicesTReflectionActivatorData, TSingleRegistrationStyle
Reads configuration data for a component's exposed services and updates the component registration as needed.
Public methodRegisterConfiguredComponents
Registers individual configured components into a container builder.
Protected methodSetAutoActivateTReflectionActivatorData, TSingleRegistrationStyle
Sets the auto activation mode for the component.
Protected methodSetComponentOwnershipTReflectionActivatorData, TSingleRegistrationStyle
Sets the ownership model for the component.
Protected methodSetInjectPropertiesTReflectionActivatorData, TSingleRegistrationStyle
Sets the property injection mode for the component.
Protected methodSetLifetimeScopeTReflectionActivatorData, TSingleRegistrationStyle
Sets the lifetime scope for the component.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also