public CaseRuleExpressionBlock(ICaseRuleViewModel caseRuleViewModel) : base(null, caseRuleViewModel) { ConditionBlock = new ConditionAndOrBlock("If".Localize(), caseRuleViewModel, "of these conditions are true".Localize()); ActionBlock = new ActionBlock("apply these alerts".Localize(), caseRuleViewModel); InitializeAvailableExpressions(); }
public CaseRuleExpressionBlock(ICaseRuleViewModel caseRuleViewModel) : base(null, caseRuleViewModel) { ConditionBlock = new ConditionAndOrBlock("If", caseRuleViewModel, "of these conditions are true"); ActionBlock = new ActionBlock("apply these alerts", caseRuleViewModel); InitializeAvailableExpressions(); }