public RuleResult(RuleName name, RuleResultType type, TLocation location, string description) { _name = name; _type = type; _location = location; _description = description; }
public RuleResult(Rule rule, RuleResultType resultType, string message) { Rule = rule; ResultType = resultType; Message = message; }