Click or drag to resize

IGeneratorApplyElementSelectionRule Method

Applies the element selection rule specified on all the elements matching its scope and filters the elements out which result in false after applying the rule. This method alters the sets of elements, so use this method in combination of PushElementSets and PopElementSets.

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax
void ApplyElementSelectionRule(
	ElementSelectionRule rule
)

Parameters

rule
Type: SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.TasksElementSelectionRule
The rule.
Remarks
Will change the sets of elements in this IGenerator instance. To preserve these sets, call PushElementSets first.
See Also