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.Pattern
Assembly:  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

ExceptionCondition
System..::.ArgumentNullExceptionThrown if populator is null.

See Also