Partager via


Condition Members

Provides conditions that can control the exploration of a rule, such as whether the rule is enabled and which parameter values can be generated for the rule.

The following tables list the members exposed by the Condition type.

Public Methods

  Name Description
public method static All Enables exploration of the enclosing rule if a predicate is true for all elements of a collection.
public method static AssertIsTrue Marks the target state of the enclosing rule as an error state if a condition is not true.
public method static Exists Enables exploration of the enclosing rule if a predicate is true for at least one element of a collection.
public method static Fail Marks the target state of the enclosing rule as an error state.
public method static IfThen Enables exploration of the enclosing rule if a logical implication is satisfied.
public method static In Overloaded. Enables exploration of the enclosing rule if an element is contained in a collection.
public method static IsFalse Enables exploration of the enclosing rule if a condition evaluates to false.
public method static IsNotNull Enables exploration of the enclosing rule if a value is not null.
public method static IsNull Enables exploration of the enclosing rule if a value is null.
public method static IsTrue Overloaded. Enables exploration of the enclosing rule if a condition evaluates to true.

Top

See Also

Reference

Condition Class
Microsoft.Modeling Namespace
Combination Class

Other Resources

Actions
Rules
Steps
Parameter Expansion Points