ContainerBuilderRegisterCallback Method |
Register a callback that will be invoked when the container is configured.
Namespace:
Autofac
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntaxpublic DeferredCallback RegisterCallback(
Action<IComponentRegistryBuilder> configurationCallback
)
Public Function RegisterCallback (
configurationCallback As Action(Of IComponentRegistryBuilder)
) As DeferredCallback
Parameters
- configurationCallback
- Type: SystemActionIComponentRegistryBuilder
Callback to execute.
Return Value
Type:
DeferredCallback[Missing <returns> documentation for "M:Autofac.ContainerBuilder.RegisterCallback(System.Action{Autofac.Core.Registration.IComponentRegistryBuilder})"]
RemarksThis is primarily for extending the builder syntax.
See Also