Skip to content

Commit 45249a5

Browse files
committed
Correcting case
1 parent 53c7f22 commit 45249a5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

SSLLabsApiWrapper/SSLLabsApiService.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public enum Publish
2424
Off
2525
}
2626

27-
public enum startNew
27+
public enum StartNew
2828
{
2929
On,
3030
Ignore
@@ -43,7 +43,7 @@ public enum All
4343
Done
4444
}
4545

46-
public enum ignoreMismatch
46+
public enum IgnoreMismatch
4747
{
4848
On,
4949
Off
@@ -94,10 +94,10 @@ public Info Info()
9494
public Analyze Analyze(string host)
9595
{
9696
// 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);
9898
}
9999

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)
101101
{
102102
var analyzeModel = new Analyze();
103103

@@ -137,10 +137,10 @@ public Analyze AutomaticAnalyze(string host)
137137

138138
public Analyze AutomaticAnalyze(string host, int maxWaitInterval, int sleepInterval)
139139
{
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);
141141
}
142142

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,
144144
int maxWaitInterval, int sleepInterval)
145145
{
146146
var startTime = DateTime.Now;
@@ -149,7 +149,7 @@ public Analyze AutomaticAnalyze(string host, Publish publish, startNew startNew,
149149
var analyzeModel = Analyze(host, publish, startNew, fromCache, maxHours, all, ignoreMismatch);
150150

151151
// Ignoring cache settings after first request to prevent loop
152-
startNew = startNew.Ignore;
152+
startNew = StartNew.Ignore;
153153

154154
// Shouldn't have to check status header as HasErrorOccurred should be enough
155155
while (analyzeModel.HasErrorOccurred == false && analyzeModel.status != "READY" && (DateTime.Now - startTime).TotalSeconds < maxWaitInterval)

0 commit comments

Comments
 (0)