Click or drag to resize
GeneratorApplyElementSelectionRule 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.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public void ApplyElementSelectionRule(
	ElementSelectionRule rule
)

Parameters

rule
Type: SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.TasksElementSelectionRule
The rule.

Implements

IGeneratorApplyElementSelectionRule(ElementSelectionRule)
Remarks
Will change the sets of elements in this IGenerator instance. To preserve these sets, call PushElementSets first.
See Also