Click or drag to resize

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
Syntax
public DeferredCallback RegisterCallback(
	Action<IComponentRegistryBuilder> configurationCallback
)

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})"]

Remarks
This is primarily for extending the builder syntax.
See Also