Beispiel #1
0
 public override void Result(
     EventBean[] row,
     int streamNum,
     EventBean myEvent,
     Node myNode,
     ICollection <EventBean[]> resultFinalRows,
     EventBean resultRootEvent)
 {
     RowsList.Add(row);
     StreamNumList.Add(streamNum);
     MyEventList.Add(myEvent);
     MyNodeList.Add(myNode);
 }
        internal void Update(LoadedHistoryRows value)
        {
            RowsList.Clear();
            var slowTask = new Task(delegate
            {
                if (value == null)
                {
                    return;
                }
                foreach (var item in value.Data)
                {
                    RowsList.Add(new HistoryRow(item));
                }
            });

            slowTask.ContinueWith(delegate
            {
                DispatherThreadRun(delegate
                {
                    ListHistoryRows.Refresh();
                });
            });
            slowTask.Start();
        }
Beispiel #3
0
 public DbSet()
 {
     rows = new RowsList();
 }