RuleSection Class

Assembly: CodeEffects.Rule.Editor.dll
Namespace: CodeEffects.Rule.Editor.Client

Summary

Describes one element of a rule's condition or execution section in the Context that the Rule Editor sends to the server when it asks for the menu items of an Adaptive Source. Not to be confused with the RuleSectionType enumeration, which names the section itself.

Syntax

public class RuleSection

Properties

  • Type

    Type: CodeEffects.Rule.Common.Models.RuleElementType

    The kind of the element: a field, method, action, setter, group parenthesis, source, or operator. The default value is RuleElementType.Undefined.

  • Name

    Type: System.String

    The name of the member the element is made of, which is the Value of its Field or Function. It is null for elements that have no name, such as logical operators and group parentheses.

  • Operator

    Type: System.String

    The operator of the element, when it has one. For the field that starts a collection condition it holds the label of the collection operator, such as "exists". It is null otherwise.

  • Value

    Type: System.String

    The value of the element. For a logical operator it holds the operator, AND or OR; for a group parenthesis it holds the parenthesis itself. It is null for elements that have no value.

Ask on Stack Overflow - Yes, it's still active
Ask in GitHub Discussions

p102

l097 --

l102

p101

×