Skip to content

Commit a2a8178

Browse files
Add public method to support old version of predictor (#354)
* add workaround for az.predictor * Update SurveyHelper.cs Co-authored-by: Dingmeng Xue <[email protected]>
1 parent 0378509 commit a2a8178

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Share/Survey/SurveyHelper.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ public bool ShouldPromptAzSurvey(){
8383
return false;
8484
}
8585

86+
[Obsolete("The method is deprecated, please use ShouldPromptAzSurvey() instead.")]
87+
public bool ShouldPropmtSurvey(string moduleName, Version moduleVersion){
88+
return ShouldPromptAzSurvey();
89+
}
90+
8691
public void updateSurveyHelper(string installationId){
8792
InitialSurveyHelper();
8893
if (ExpectedDate == DateTime.MinValue && Today > LastActiveDay)

0 commit comments

Comments
 (0)