Пример #1
0
 public CodeInspectionSetting(string name, string description, CodeInspectionType type, CodeInspectionSeverity severity)
 {
     Name           = name;
     Description    = description;
     InspectionType = type;
     Severity       = severity;
 }
 public CodeInspectionSetting(string name, string description, CodeInspectionType type, CodeInspectionSeverity severity)
 {
     Name = name;
     Description = description;
     InspectionType = type;
     Severity = severity;
 }
Пример #3
0
 private IEnumerable <CodeInspectionSetting> GetInspectionSettings(CodeInspectionType inspectionType)
 {
     return(_codeInspectionSettings.Where(setting => setting.InspectionType == inspectionType));
 }
Пример #4
0
 public CodeInspection(string name, CodeInspectionType type, CodeInspectionSeverity severity)
 {
     this.Name           = name;
     this.InspectionType = type;
     this.Severity       = severity;
 }
Пример #5
0
 private IEnumerable<CodeInspectionSetting> GetInspectionSettings(CodeInspectionType inspectionType)
 {
     return _codeInspectionSettings.Where(setting => setting.InspectionType == inspectionType);
 }