made serverConnection true thread safe singleton
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user