コード例 #1
0
 public RuleResult(RuleName name, RuleResultType type, TLocation location, string description)
 {
     _name        = name;
     _type        = type;
     _location    = location;
     _description = description;
 }
コード例 #2
0
 protected CSharpRuleBase(string category, string checkId)
 {
     _name = new RuleName(category, checkId);
 }
コード例 #3
0
 public static RuleResult <TLocation> Warning(RuleName name, TLocation location, string description)
 {
     return(new RuleResult <TLocation>(name, RuleResultType.Warning, location, description));
 }
コード例 #4
0
 public static RuleResult <TLocation> Information(RuleName name, TLocation location, string description)
 {
     return(new RuleResult <TLocation>(name, RuleResultType.Information, location, description));
 }
コード例 #5
0
 public static RuleResult <TLocation> Error(RuleName name, TLocation location, string description)
 {
     return(new RuleResult <TLocation>(name, RuleResultType.Error, location, description));
 }