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: 6.0.0+ec1c6438ceb3f3338c7364e35e7303f014e3fc39
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