refactoring
This commit is contained in:
parent
ba61e8b508
commit
135f5b4fc1
4 changed files with 15 additions and 15 deletions
|
|
@ -30,16 +30,14 @@ namespace MatterHackers.MatterControl
|
|||
}
|
||||
}
|
||||
|
||||
public void OutboundRequest(bool success)
|
||||
public void WebRequestFailed()
|
||||
{
|
||||
if (success)
|
||||
{
|
||||
failedRequestCount = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
failedRequestCount++;
|
||||
}
|
||||
failedRequestCount++;
|
||||
}
|
||||
|
||||
public void WebRequestSucceeded()
|
||||
{
|
||||
failedRequestCount = 0;
|
||||
}
|
||||
|
||||
public static AuthenticationData Instance { get; } = new AuthenticationData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue