public RuleRuntimeErrorEvent(FlowErrorTrace parent, Exception linkedException, ValidationRule rule, IComparable object1, IComparable object2) : base(parent, "role runtime error event: " + linkedException, rule) { this.object1 = object1; this.object2 = object2; this.linkedException = linkedException; }
public UnableToBindEvent(FlowErrorTrace parent, Exception linkedException, ValidationRule rule, PropertySelection selection, int argument) : base(parent, "unable to bind object " + selection, rule) { this.selection = selection; this.argument = argument; this.linkedException = linkedException; }
public static ValidationResult Validate(ValidationData data) { ObjectBinder binder = CreateObjectBinder(data); ValidationRequest request = new ValidationRequest(binder); FlowErrorTrace errorTrace = data.flow.Validate(request); ValidationResult result = new ValidationResult(errorTrace); return(result); }
internal RuleValidationEvent(FlowErrorTrace parent, string message, ValidationRule rule) : base(parent, message) { this.rule = rule; }
internal BaseValidationEvent(FlowErrorTrace parent, string message) { this.message = message; this.Parent = parent; }
public UnsuccessfulFlowCompletionEvent(FlowErrorTrace parent, ValidationFlow flow) : base(parent, "Unsuccessful flow validation") { this.flow = flow; }
public UnsuccessfulRuleCompletionEvent(FlowErrorTrace parent, ValidationRule rule, IComparable object1, IComparable object2) : base(parent, "Unsuccessful role validation", rule) { this.object1 = object1; this.object2 = object2; }