@@ -26,13 +26,15 @@ public enum Publish
26
26
public enum ClearCache
27
27
{
28
28
On ,
29
- Off
29
+ Off ,
30
+ Ignore
30
31
}
31
32
32
33
public enum FromCache
33
34
{
34
35
On ,
35
- Off
36
+ Off ,
37
+ Ignore
36
38
}
37
39
38
40
public enum All
@@ -67,7 +69,7 @@ public Info Info()
67
69
var webResponse = _api . MakeGetRequest ( requestModel ) ;
68
70
69
71
// Binding result to model
70
- _responsePopulationHelper . InfoModel ( webResponse , infoModel ) ;
72
+ infoModel = _responsePopulationHelper . InfoModel ( webResponse , infoModel ) ;
71
73
72
74
if ( infoModel . engineVersion != null )
73
75
{
@@ -89,7 +91,7 @@ public Info Info()
89
91
public Analyze Analyze ( string host )
90
92
{
91
93
// overloaded method to provide a default set of options
92
- return Analyze ( host , Publish . Off , ClearCache . On , FromCache . Off , All . On ) ;
94
+ return Analyze ( host , Publish . Off , ClearCache . On , FromCache . Ignore , All . On ) ;
93
95
}
94
96
95
97
public Analyze Analyze ( string host , Publish publish , ClearCache clearCache , FromCache fromCache , All all )
@@ -114,7 +116,7 @@ public Analyze Analyze(string host, Publish publish, ClearCache clearCache, From
114
116
var webResponse = _api . MakeGetRequest ( requestModel ) ;
115
117
116
118
// Binding result to model
117
- _responsePopulationHelper . AnalyzeModel ( webResponse , analyzeModel ) ;
119
+ analyzeModel = _responsePopulationHelper . AnalyzeModel ( webResponse , analyzeModel ) ;
118
120
}
119
121
catch ( Exception ex )
120
122
{
@@ -155,7 +157,7 @@ public Endpoint GetEndpointData(string host, string s, FromCache fromCache)
155
157
var webResponse = _api . MakeGetRequest ( requestModel ) ;
156
158
157
159
// Binding result to model
158
- _responsePopulationHelper . EndpointModel ( webResponse , endpointModel ) ;
160
+ endpointModel = _responsePopulationHelper . EndpointModel ( webResponse , endpointModel ) ;
159
161
}
160
162
catch ( Exception ex )
161
163
{
@@ -182,7 +184,7 @@ public StatusDetails GetStatusCodes()
182
184
var webResponse = _api . MakeGetRequest ( requestModel ) ;
183
185
184
186
// Binding result to model
185
- _responsePopulationHelper . StatusDetailsModel ( webResponse , statusDetailsModel ) ;
187
+ statusDetailsModel = _responsePopulationHelper . StatusDetailsModel ( webResponse , statusDetailsModel ) ;
186
188
}
187
189
catch ( Exception ex )
188
190
{
0 commit comments