public static void ExecuteRule() { Dictionary <string, object> args = new Dictionary <string, object>(); ValidationRuleResult result = new ValidationRuleResult(); args.Add(PipeRuleSignature.PipeArgument.Name, new object()); args.Add(PipeRuleSignature.ResultArgument.Name, result); RuleManagerInstance.InvokeRulePoint("/PipeRule", args); }
protected override void Execute(CodeActivityContext context) { object pipe = this.Pipe.Get(context); // The internal system will use the resultSet, but also return as output for other usage ValidationRuleResult results = this.Results.Get(context); if (null != results) { results.AddResult(pipe, this.Type, "Pipe", this.Message.Get(context)); } return; }