IComponentRegistration Interface |
Namespace: Autofac.Core
The IComponentRegistration type exposes the following members.
Name | Description | |
---|---|---|
![]() | Activator |
Gets the activator used to create instances.
|
![]() | Id |
Gets a unique identifier for this component (shared in all sub-contexts.)
This value also appears in Services.
|
![]() | Lifetime |
Gets the lifetime associated with the component.
|
![]() | Metadata |
Gets additional data associated with the component.
|
![]() | Options |
Gets the options for the registration.
|
![]() | Ownership |
Gets a value indicating whether the instances of the component should be disposed by the container.
|
![]() | ResolvePipeline |
Gets the resolve pipeline for the component.
|
![]() | Services |
Gets the services provided by the component.
|
![]() | Sharing |
Gets a value indicating whether the component instances are shared or not.
|
![]() | Target |
Gets the component registration upon which this registration is based.
|
Name | Description | |
---|---|---|
![]() | BuildResolvePipeline |
Builds the resolve pipeline.
|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
Name | Description | |
---|---|---|
![]() | PipelineBuilding |
Provides an event that will be invoked just before a pipeline is built, and can be used to add additional middleware
at that point.
|
Name | Description | |
---|---|---|
![]() | MatchingLifetimeScopeTags |
For components registered instance-per-matching-lifetime-scope, retrieves the set
of lifetime scope tags to match.
(Defined by ComponentRegistrationExtensions.) |