Adds an action to the scope that enables a pattern to lazily populate the test model
with components generated in nested scopes. This is used when
Consume(IPatternScope, ICodeElementInfo, Boolean) is called with the option to skip children.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
void AddDeferredComponentPopulator( DeferredComponentPopulator populator ) |
| Visual Basic (Declaration) |
|---|
Sub AddDeferredComponentPopulator ( _ populator As DeferredComponentPopulator _ ) |
Parameters
- populator
- Type: Gallio.Framework.Pattern..::.DeferredComponentPopulator
A DeferredComponentPopulator supplied by the pattern to populate its components lazily.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if populator is null. |
