internal void NewTable(Table Table, MessageEventArgs e) { QueryTable Table2; lock (this.result) { if (this.currentSection != null) { Table2 = new QueryTable(this.currentSection, Table); this.currentSection.Add(Table2); } else { Table2 = new QueryTable(null, Table); this.result.Add(Table2); this.resultFixed = null; } } lock (this.tables) { this.tables[Table.TableId] = Table2; } this.Invoke(this.TableAdded, Table2, e); }
private void Invoke(NodeQueryTableUpdatedEventHandler h, QueryTable Table, Record[] NewRecords, MessageEventArgs e) { try { h?.Invoke(this, new NodeQueryTableUpdatedEventArgs(Table, this, NewRecords, e)); } catch (Exception ex) { Log.Critical(ex); } }
private void Invoke(NodeQueryTableEventHandler Callback, QueryTable Table, MessageEventArgs e) { try { Callback?.Invoke(this, new NodeQueryTableEventArgs(Table, this, e)); } catch (Exception ex) { Log.Critical(ex); } }
internal void NewTable(Table Table, MessageEventArgs e) { QueryTable Table2; lock (this.result) { if (!(this.currentSection is null)) { Table2 = new QueryTable(this.currentSection, Table); this.currentSection.Add(Table2); }