@@ -96,27 +96,30 @@ static SpecialVars()
96
96
internal const string WarningPreference = "WarningPreference" ;
97
97
internal const string ConfirmPreference = "ConfirmPreference" ;
98
98
internal const string ProgressPreference = "ProgressPreference" ;
99
+ internal const string InformationPreference = "InformationPreference" ;
99
100
100
- internal static readonly string [ ] PreferenceVariables = new string [ ]
101
- {
102
- DebugPreference ,
103
- VerbosePreference ,
104
- ErrorActionPreference ,
105
- WhatIfPreference ,
106
- WarningPreference ,
101
+ internal static readonly string [ ] PreferenceVariables = new string [ ]
102
+ {
103
+ DebugPreference ,
104
+ VerbosePreference ,
105
+ ErrorActionPreference ,
106
+ WhatIfPreference ,
107
+ WarningPreference ,
107
108
ConfirmPreference ,
108
- ProgressPreference
109
+ ProgressPreference ,
110
+ InformationPreference
109
111
} ;
110
112
111
- internal static readonly Type [ ] PreferenceVariableTypes = new Type [ ]
112
- {
113
- /* DebugPreference */ typeof ( ActionPreference ) ,
114
- /* VerbosePreference */ typeof ( ActionPreference ) ,
115
- /* ErrorPreference */ typeof ( ActionPreference ) ,
116
- /* WhatIfPreference */ typeof ( SwitchParameter ) ,
117
- /* WarningPreference */ typeof ( ActionPreference ) ,
118
- /* ConfirmPreference */ typeof ( ConfirmImpact ) ,
113
+ internal static readonly Type [ ] PreferenceVariableTypes = new Type [ ]
114
+ {
115
+ /* DebugPreference */ typeof ( ActionPreference ) ,
116
+ /* VerbosePreference */ typeof ( ActionPreference ) ,
117
+ /* ErrorPreference */ typeof ( ActionPreference ) ,
118
+ /* WhatIfPreference */ typeof ( SwitchParameter ) ,
119
+ /* WarningPreference */ typeof ( ActionPreference ) ,
120
+ /* ConfirmPreference */ typeof ( ConfirmImpact ) ,
119
121
/* ProgressPreference */ typeof ( Enum ) ,
122
+ /* InformationPreference */ typeof ( ActionPreference ) ,
120
123
} ;
121
124
122
125
internal enum AutomaticVariable
0 commit comments