Click or drag to resize

TaskRuleEvaluate Method

Evaluates this rule on the specified element and project. If the rule is disabled, it's automatically accepted. If the rule evaluates to false, the rule is denied and the associated taskgroupelement won't be performed.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public bool Evaluate(
	ITargetFrameworkHolder targetFrameworkHolder,
	IOutputSettingValuesTarget objectToEvaluate
)

Parameters

targetFrameworkHolder
Type: SD.LLBLGen.Pro.ApplicationCore.InterfacesITargetFrameworkHolder
The target framework holder.
objectToEvaluate
Type: SD.LLBLGen.Pro.ApplicationCore.InterfacesIOutputSettingValuesTarget
The object to evaluate. If not null, the TargetElementType has to match this element otherwise it's ignored and the rule is evaluated on the project.

Return Value

Type: Boolean
true if the rule was accepted, false if the rule was denied.
See Also