Context Class

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

Summary

Describes the state of the rule that the Rule Editor is editing, as the editor sends it to the server when it asks for the menu items of an Adaptive Source. The source provider reads it to decide which fields, methods, setters, and actions to return for the current position in the rule.

Syntax

public class Context

Properties

  • RefData

    Type: System.String

    The reference data your page gave to the Rule Editor with the client setRefData method. The editor sends it back unchanged with every request for menu items. Use it to tell the source provider about anything that is not in the rule itself, such as the current tenant or the type of object the rule is for. The default value is null.

  • Conditions

    Type: ICollection<RuleSection>

    The elements of the rule's condition section written so far, in the order they appear in the rule. The default value is an empty collection.

  • Executions

    Type: ICollection<RuleSection>

    The elements of the rule's execution section (setters and actions) written so far, in the order they appear in the rule. The default value is an empty collection.

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

p102

l097 --

l102

p101

×