Fixing clients management.
2 using System.Collections.Generic;
5 using System.Threading.Tasks;
9 namespace SharpDisplayManager
12 /// A UI thread copy of a client relevant data.
13 /// Keeping this copy in the UI thread helps us deal with threading issues.
15 public class ClientData
17 public ClientData(string aSessionId, ICallback aCallback)
19 SessionId = aSessionId;
21 Fields = new List<DataField>();
22 Layout = new TableLayout(1, 2); //Default to one column and two rows
26 public string SessionId { get; set; }
27 public string Name { get; set; }
28 public List<DataField> Fields { get; set; }
29 public TableLayout Layout { get; set; }
30 public ICallback Callback { get; set; }
33 public DateTime LastSwitchTime { get; set; }