Click or drag to resize

Generator.ApplyElementSelectionRule 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.6.0.0 (5.6.19.0117)
Syntax
public void ApplyElementSelectionRule(
	ElementSelectionRule rule
)

Parameters

rule
Type: SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.ElementSelectionRule
The rule.

Implements

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