public CodeInspectionSetting(string name, string description, CodeInspectionType type, CodeInspectionSeverity severity) { Name = name; Description = description; InspectionType = type; Severity = severity; }
private IEnumerable <CodeInspectionSetting> GetInspectionSettings(CodeInspectionType inspectionType) { return(_codeInspectionSettings.Where(setting => setting.InspectionType == inspectionType)); }
public CodeInspection(string name, CodeInspectionType type, CodeInspectionSeverity severity) { this.Name = name; this.InspectionType = type; this.Severity = severity; }
private IEnumerable<CodeInspectionSetting> GetInspectionSettings(CodeInspectionType inspectionType) { return _codeInspectionSettings.Where(setting => setting.InspectionType == inspectionType); }