@@ -21,17 +21,17 @@ public class Settings
2121 public List < AccessLink > IndexSearchExcludedSubdirectoryPaths { get ; set ; } = new List < AccessLink > ( ) ;
2222
2323 public string SearchActionKeyword { get ; set ; } = Query . GlobalPluginWildcardSign ;
24- public bool EnabledSearchActionKeyword { get ; set ; } = true ;
24+ public bool SearchActionKeywordEnabled { get ; set ; } = true ;
2525
2626 public string FileContentSearchActionKeyword { get ; set ; } = Constants . DefaultContentSearchActionKeyword ;
2727
2828 public string PathSearchActionKeyword { get ; set ; } = Query . GlobalPluginWildcardSign ;
2929
30- public bool EnabledPathSearchKeyword { get ; set ; }
30+ public bool PathSearchKeywordEnabled { get ; set ; }
3131
3232 public string IndexSearchActionKeyword { get ; set ; } = Query . GlobalPluginWildcardSign ;
3333
34- public bool EnabledIndexOnlySearchKeyword { get ; set ; }
34+ public bool IndexOnlySearchKeywordEnabled { get ; set ; }
3535
3636 internal enum ActionKeyword
3737 {
@@ -60,17 +60,17 @@ internal enum ActionKeyword
6060
6161 internal bool ? GetActionKeywordEnable ( ActionKeyword actionKeyword ) => actionKeyword switch
6262 {
63- ActionKeyword . SearchActionKeyword => EnabledSearchActionKeyword ,
64- ActionKeyword . PathSearchActionKeyword => EnabledPathSearchKeyword ,
65- ActionKeyword . IndexSearchActionKeyword => EnabledIndexOnlySearchKeyword ,
63+ ActionKeyword . SearchActionKeyword => SearchActionKeywordEnabled ,
64+ ActionKeyword . PathSearchActionKeyword => PathSearchKeywordEnabled ,
65+ ActionKeyword . IndexSearchActionKeyword => IndexOnlySearchKeywordEnabled ,
6666 _ => null
6767 } ;
6868
6969 internal void SetActionKeywordEnable ( ActionKeyword actionKeyword , bool enable ) => _ = actionKeyword switch
7070 {
71- ActionKeyword . SearchActionKeyword => EnabledSearchActionKeyword = enable ,
72- ActionKeyword . PathSearchActionKeyword => EnabledPathSearchKeyword = enable ,
73- ActionKeyword . IndexSearchActionKeyword => EnabledIndexOnlySearchKeyword = enable ,
71+ ActionKeyword . SearchActionKeyword => SearchActionKeywordEnabled = enable ,
72+ ActionKeyword . PathSearchActionKeyword => PathSearchKeywordEnabled = enable ,
73+ ActionKeyword . IndexSearchActionKeyword => IndexOnlySearchKeywordEnabled = enable ,
7474 _ => throw new ArgumentOutOfRangeException ( nameof ( actionKeyword ) , actionKeyword , "Unexpected property" )
7575 } ;
7676 }
0 commit comments