public RuleDefinition(string name, string description, int priority, RuleRepeatability repeatability, IEnumerable <string> tags, GroupElement leftHandSide, ActionGroupElement rightHandSide) { _name = name; _description = description; _repeatability = repeatability; _priority = priority; _tags = new List <string>(tags); _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); _dependencies = dependencies; _leftHandSide = leftHandSide; _rightHandSide = rightHandSide; }
public RuleDefinition(string name, string description, IEnumerable <string> tags, int priority, GroupElement leftHandSide, ActionGroupElement rightHandSide) { Name = name; Description = description; Priority = priority; LeftHandSide = leftHandSide; RightHandSide = rightHandSide; if (tags != null) { _tags.AddRange(tags); } }
public RuleDefinition(string name, string description, int priority, RuleRepeatability repeatability, IEnumerable <string> tags, IEnumerable <RuleProperty> properties, DependencyGroupElement dependencies, FilterGroupElement filters, GroupElement leftHandSide, ActionGroupElement rightHandSide) { Name = name; Description = description; Repeatability = repeatability; Priority = priority; _tags = new List <string>(tags); Properties = new PropertyMap(properties); DependencyGroup = dependencies; FilterGroup = filters; LeftHandSide = leftHandSide; RightHandSide = rightHandSide; }