refactoring

This commit is contained in:
Lars Brubaker 2017-01-03 13:05:57 -08:00
parent ba61e8b508
commit 135f5b4fc1
4 changed files with 15 additions and 15 deletions

View file

@ -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();