IComponentRegistry Interface |
Namespace: Autofac.Core
The IComponentRegistry type exposes the following members.
Name | Description | |
---|---|---|
HasLocalComponents |
Gets a value indicating whether the registry contains its own components.
True if the registry contains its own components; false if it is forwarding
registrations from another external registry.
| |
Properties |
Gets the set of properties used during component registration.
| |
Registrations |
Gets the set of registered components.
| |
ServiceMiddlewareSources |
Gets the set of service middleware sources that are used by the registry.
| |
Sources |
Gets the registration sources that are used by the registry.
|
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
IsRegistered |
Determines whether the specified service is registered.
| |
RegistrationsFor |
Selects from the available registrations after ensuring that any
dynamic registration sources that may provide service
have been invoked.
| |
ServiceMiddlewareFor |
Gets the set of custom service middleware for the specified service.
| |
ServiceRegistrationsFor |
Selects from the available service registrations after ensuring that any
dynamic registration sources that may provide service
have been invoked.
| |
TryGetRegistration |
Attempts to find a default registration for the specified service.
| |
TryGetServiceRegistration |
Attempts to find a default service registration for the specified service.
|