IComponentRegistryBuilder Interface |
Namespace: Autofac.Core.Registration
The IComponentRegistryBuilder type exposes the following members.
Name | Description | |
---|---|---|
Properties |
Gets the set of properties used during component registration.
|
Name | Description | |
---|---|---|
AddRegistrationSource |
Add a registration source that will provide registrations on-the-fly.
| |
AddServiceMiddlewareSource |
Add a source of service middleware that will provide service registrations on-the-fly.
| |
Build |
Create a new IComponentRegistry with all the component registrations that have been made.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
IsRegistered |
Determines whether the specified service is registered.
| |
Register(IComponentRegistration) |
Register a component.
| |
Register(IComponentRegistration, Boolean) |
Register a component.
| |
RegisterServiceMiddleware |
Register a piece of service middleware that will be invoked for all registrations of a service when they are resolved.
|
Name | Description | |
---|---|---|
Registered |
Fired whenever a component is registered - either explicitly or via a
IRegistrationSource.
| |
RegistrationSourceAdded |
Fired when an IRegistrationSource is added to the registry.
|