Summary
Creates a container scope with the specified configuration and arguments.
- Namespace
- Cake
.Features - Containing Type
- Feature
Syntax
protected IContainer CreateScope(ICakeConfiguration configuration, ICakeArguments arguments, Action<ICakeContainerRegistrar> action = null)
Parameters
| Name | Type | Description |
|---|---|---|
| configuration | ICakeConfiguration | The Cake configuration. |
| arguments | ICakeArguments | The Cake arguments. |
| action | Action |
An optional action to configure the container registrar. |
Return Value
| Type | Description |
|---|---|
| IContainer | A container scope. |
