/// <summary> /// Sets the current stream data. /// </summary> /// <param name="entryCollection">The current stream data.</param> public void SetInStreamData(ILogEntryCollection entryCollection) { this.logEntryCollection = entryCollection; this.logEntryCollection.EventDataAdded += this.EventDataAdded; this.logEntryCollection.EventDataRemoved += this.EventDataRemoved; this.logEntryCollection.Items.ForEach(this.AddEvent); }
public void UpdateLineSource(ILogEntryCollection <LogEntry> newlines) { list.BeginUpdate(); //IsDisplayingInternalLog = false; CurrentLines = newlines; list.VirtualListSize = CurrentLines.Entries.Count(); SelectMostRecentLine(); list.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent); list.EndUpdate(); }
/// <summary> /// Sets the current stream data. /// </summary> /// <param name="inStreamData">The current stream data.</param> public void SetInStreamData(ILogEntryCollection inStreamData) { this.Metadata.Clear(); this.RaiseDeleteAllMarkersEvent(); this.logEntryCollection = inStreamData; this.logEntryCollection.EventDataAdded += this.EventDataAdded; this.logEntryCollection.EventDataRemoved += this.EventDataRemoved; this.logEntryCollection.Items.ForEach(this.AddEvent); }
public static void SetInStreamData(DependencyObject obj, ILogEntryCollection value) { obj.SetValue(InStreamDataProperty, value); }
/// <summary> /// Sets the current in stream data to the model. /// </summary> /// <param name="streamData">The in stream data.</param> private void SetInStreamData(ILogEntryCollection streamData) { this.Model.SetInStreamData(streamData); }
/// <summary> /// Sets the current in stream data to the model. /// </summary> /// <param name="logEntryCollection">The in stream data.</param> public void SetInStreamData(ILogEntryCollection logEntryCollection) { this.Model.SetInStreamData(logEntryCollection); }