Made all VS-recommended changes

This commit is contained in:
2019-02-21 15:30:48 -06:00
parent edc7050279
commit f566b4c468
12 changed files with 60 additions and 59 deletions

View File

@ -25,7 +25,7 @@ namespace Test
{
foreach (var server in servers)
{
if (server.isValid)
if (server.IsValid)
{
await ConnectToUnit(server);
break;
@ -33,7 +33,7 @@ namespace Test
}
}
if (servers == null || servers.Count == 0 || !servers.Any(x => x.isValid))
if (servers == null || servers.Count == 0 || !servers.Any(x => x.IsValid))
{
Console.WriteLine("No local units found.");
}
@ -42,7 +42,7 @@ namespace Test
static async Task DoRemoteConnect(string systemName, string systemPassword)
{
var unit = await ScreenLogicConnect.RemoteConnect.GetGatewayInfo(systemName);
if (unit.isValid)
if (unit.IsValid)
{
await ConnectToUnit(unit, systemPassword);
}