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
35
35
private List < string > customRulePath ;
36
36
private Dictionary < string , Dictionary < string , object > > ruleArguments ;
37
37
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 ;
43
42
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 ;
45
44
46
45
/// <summary>
47
46
/// Create a settings object from the input object.
You can’t perform that action at this time.
0 commit comments