public Temporary(ConnectAPI api, StringBuilder sb, string key) : base(key) { Temp = sb; this.api = api; api.SendQuotes += OnReceiveMemorize; api.SendDatum += OnReceiveMemorize; }
public static ConnectAPI Get() { if (api == null) { api = new ConnectAPI(); } return(api); }
public static ConnectAPI GetInstance(string key, int delay) { if (OpenAPI == null) { OpenAPI = new ConnectAPI(key, delay); } return(OpenAPI); }
Temporary(ConnectAPI api, string key) : base(key) { Temp = new StringBuilder(1024); api.SendMemorize += OnReceiveMemorize; }
internal void SetConnection(ConnectAPI api, string key) { api.SendQuotes -= OnReceiveMemorize; api.SendDatum -= OnReceiveMemorize; new Temporary(api, key); }
private ConfirmOrder() { InitializeComponent(); api = ConnectAPI.Get(); api.SendConfirm += OnReceiveIdentify; }
public Temporary() { memo = new List <string>(32768); ConnectAPI.Get().SendMemorize += OnReceiveMemorize; }
public TemporaryStorage(SqlConnection sql) { this.sql = sql; ConnectAPI.Get().SendMemorize += OnReceiveMemorize; }