Click or drag to resize

ConfigurationRegistrar Class

Default service for adding configured registrations to a container.
Inheritance Hierarchy
SystemObject
  Autofac.Configuration.CoreConfigurationRegistrar

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

The ConfigurationRegistrar type exposes the following members.

Constructors
  NameDescription
Public methodConfigurationRegistrar
Initializes a new instance of the ConfigurationRegistrar class.
Public methodConfigurationRegistrar(IComponentRegistrar, IModuleRegistrar)
Initializes a new instance of the ConfigurationRegistrar class.
Top
Properties
  NameDescription
Public propertyComponentRegistrar
Gets the component registration parser.
Public propertyModuleRegistrar
Gets the module registration parser.
Top
Methods
  NameDescription
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.)
Public methodRegisterConfiguration
Registers the contents of a configuration section into a container builder.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This default implementation of IConfigurationRegistrar processes IConfiguration contents into registrations for a ContainerBuilder. You may derive and override to extend the functionality or you may implement your own IConfigurationRegistrar.

See Also