@@ -24,7 +24,7 @@ public enum Publish
24
24
Off
25
25
}
26
26
27
- public enum startNew
27
+ public enum StartNew
28
28
{
29
29
On ,
30
30
Ignore
@@ -43,7 +43,7 @@ public enum All
43
43
Done
44
44
}
45
45
46
- public enum ignoreMismatch
46
+ public enum IgnoreMismatch
47
47
{
48
48
On ,
49
49
Off
@@ -94,10 +94,10 @@ public Info Info()
94
94
public Analyze Analyze ( string host )
95
95
{
96
96
// overloaded method to provide a default set of options
97
- return Analyze ( host , Publish . Off , startNew . On , FromCache . Ignore , null , All . On , ignoreMismatch . Off ) ;
97
+ return Analyze ( host , Publish . Off , StartNew . On , FromCache . Ignore , null , All . On , IgnoreMismatch . Off ) ;
98
98
}
99
99
100
- public Analyze Analyze ( string host , Publish publish , startNew startNew , FromCache fromCache , int ? maxHours , All all , ignoreMismatch ignoreMismatch )
100
+ public Analyze Analyze ( string host , Publish publish , StartNew startNew , FromCache fromCache , int ? maxHours , All all , IgnoreMismatch ignoreMismatch )
101
101
{
102
102
var analyzeModel = new Analyze ( ) ;
103
103
@@ -137,10 +137,10 @@ public Analyze AutomaticAnalyze(string host)
137
137
138
138
public Analyze AutomaticAnalyze ( string host , int maxWaitInterval , int sleepInterval )
139
139
{
140
- return AutomaticAnalyze ( host , Publish . Off , startNew . On , FromCache . Ignore , null , All . On , ignoreMismatch . Off , maxWaitInterval , sleepInterval ) ;
140
+ return AutomaticAnalyze ( host , Publish . Off , StartNew . On , FromCache . Ignore , null , All . On , IgnoreMismatch . Off , maxWaitInterval , sleepInterval ) ;
141
141
}
142
142
143
- public Analyze AutomaticAnalyze ( string host , Publish publish , startNew startNew , FromCache fromCache , int ? maxHours , All all , ignoreMismatch ignoreMismatch ,
143
+ public Analyze AutomaticAnalyze ( string host , Publish publish , StartNew startNew , FromCache fromCache , int ? maxHours , All all , IgnoreMismatch ignoreMismatch ,
144
144
int maxWaitInterval , int sleepInterval )
145
145
{
146
146
var startTime = DateTime . Now ;
@@ -149,7 +149,7 @@ public Analyze AutomaticAnalyze(string host, Publish publish, startNew startNew,
149
149
var analyzeModel = Analyze ( host , publish , startNew , fromCache , maxHours , all , ignoreMismatch ) ;
150
150
151
151
// Ignoring cache settings after first request to prevent loop
152
- startNew = startNew . Ignore ;
152
+ startNew = StartNew . Ignore ;
153
153
154
154
// Shouldn't have to check status header as HasErrorOccurred should be enough
155
155
while ( analyzeModel . HasErrorOccurred == false && analyzeModel . status != "READY" && ( DateTime . Now - startTime ) . TotalSeconds < maxWaitInterval )
0 commit comments