File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,12 @@ public class Settings
3535 private List < string > customRulePath ;
3636 private Dictionary < string , Dictionary < string , object > > ruleArguments ;
3737
38- // todo use 'lambda' expression type getter
39- public string FilePath { get { return filePath ; } }
40- public IEnumerable < string > IncludeRules { get { return includeRules ; } }
41- public IEnumerable < string > ExcludeRules { get { return excludeRules ; } }
42- public IEnumerable < string > Severities { get { return severities ; } }
38+ public string FilePath => filePath ;
39+ public IEnumerable < string > IncludeRules => includeRules ;
40+ public IEnumerable < string > ExcludeRules => excludeRules ;
41+ public IEnumerable < string > Severities => severities ;
4342 public IEnumerable < string > CustomRulePath => customRulePath ;
44- public Dictionary < string , Dictionary < string , object > > RuleArguments { get { return ruleArguments ; } }
43+ public Dictionary < string , Dictionary < string , object > > RuleArguments => ruleArguments ;
4544
4645 /// <summary>
4746 /// Create a settings object from the input object.
You can’t perform that action at this time.
0 commit comments