public OrderManager(ConnectionTarget endpoint, string password, IConnection conn) { Endpoint = endpoint; Password = password; Connection = conn; syncReport = new SyncReport(this); AddChatLine += CacheChatLine; }
public NetworkConnection(ConnectionTarget target) { this.target = target; new Thread(NetworkConnectionConnect) { Name = "{0} (connect to {1})".F(GetType().Name, target), IsBackground = true }.Start(); }
public NetworkConnection(ConnectionTarget target) { Target = target; new Thread(NetworkConnectionConnect) { Name = $"{GetType().Name} (connect to {target})", IsBackground = true }.Start(); }