@@ -21,7 +21,7 @@ public class Settings
21
21
public List < AccessLink > IndexSearchExcludedSubdirectoryPaths { get ; set ; } = new List < AccessLink > ( ) ;
22
22
23
23
public string SearchActionKeyword { get ; set ; } = Query . GlobalPluginWildcardSign ;
24
- public bool EnableSearchActionKeyword { get ; set ; } = true ;
24
+ public bool EnabledSearchActionKeyword { get ; set ; } = true ;
25
25
26
26
public string FileContentSearchActionKeyword { get ; set ; } = Constants . DefaultContentSearchActionKeyword ;
27
27
@@ -60,15 +60,15 @@ internal enum ActionKeyword
60
60
61
61
internal bool ? GetActionKeywordEnable ( ActionKeyword actionKeyword ) => actionKeyword switch
62
62
{
63
- ActionKeyword . SearchActionKeyword => EnableSearchActionKeyword ,
63
+ ActionKeyword . SearchActionKeyword => EnabledSearchActionKeyword ,
64
64
ActionKeyword . PathSearchActionKeyword => EnabledPathSearchKeyword ,
65
65
ActionKeyword . IndexSearchActionKeyword => EnabledIndexOnlySearchKeyword ,
66
66
_ => null
67
67
} ;
68
68
69
69
internal void SetActionKeywordEnable ( ActionKeyword actionKeyword , bool enable ) => _ = actionKeyword switch
70
70
{
71
- ActionKeyword . SearchActionKeyword => EnableSearchActionKeyword = enable ,
71
+ ActionKeyword . SearchActionKeyword => EnabledSearchActionKeyword = enable ,
72
72
ActionKeyword . PathSearchActionKeyword => EnabledPathSearchKeyword = enable ,
73
73
ActionKeyword . IndexSearchActionKeyword => EnabledIndexOnlySearchKeyword = enable ,
74
74
_ => throw new ArgumentOutOfRangeException ( nameof ( actionKeyword ) , actionKeyword , "Unexpected property" )
0 commit comments