made serverConnection true thread safe singleton

This commit is contained in:
Sem van der Hoeven
2020-10-12 19:38:21 +02:00
parent 934c1cd48b
commit 958d27c80d
6 changed files with 37 additions and 8 deletions

View File

@@ -10,7 +10,11 @@ namespace Server.Models
class Information : ObservableObject
{
public bool CanStartServer { get; set; }
public bool ServerOnline { get; set; }
public string ServerStatus { get {
if (ServerOnline) return "Online";
return "Offline";
}
}
}
}