public RuleDefinition(string name, string description, int priority, RuleRepeatability repeatability, IEnumerable <string> tags, DependencyGroupElement dependencies, GroupElement leftHandSide, ActionGroupElement rightHandSide) { _name = name; _description = description; _repeatability = repeatability; _priority = priority; _tags = new List <string>(tags); _dependencies = dependencies; _leftHandSide = leftHandSide; _rightHandSide = rightHandSide; }
public RuleDefinition(string name, string description, int priority, RuleRepeatability repeatability, IEnumerable <string> tags, IEnumerable <RuleProperty> properties, DependencyGroupElement dependencies, GroupElement leftHandSide, ActionGroupElement rightHandSide) { Name = name; Description = description; Repeatability = repeatability; Priority = priority; _tags = new List <string>(tags); Properties = new PropertyMap(properties); DependencyGroup = dependencies; LeftHandSide = leftHandSide; RightHandSide = rightHandSide; }