private void OnSchemaChanged(ILogTableSchema schema)
 {
     _headerItems.Clear();
     foreach (var header in schema.ColumnHeaders)
     {
         _headerItems.Add(new TableHeaderItem(header));
     }
 }
 public void OnSchemaChanged(ILogTableSchema schema)
 {
     lock (_syncRoot)
     {
         foreach (var notifier in _notifiers.Values)
         {
             notifier.EmitChanged(new LogTableModification(schema));
         }
     }
 }
 public void OnSchemaChanged(ILogTableSchema schema)
 {
     lock (_syncRoot)
     {
         foreach (var notifier in _notifiers.Values)
         {
             notifier.EmitChanged(new LogTableModification(schema));
         }
     }
 }
        /// <summary>
        ///
        /// </summary>
        /// <param name="schema"></param>
        public LogTableModification(ILogTableSchema schema)
        {
            if (schema == null)
            {
                throw new ArgumentNullException(nameof(schema));
            }

            Schema       = schema;
            Section      = new LogTableSection(LogEntryIndex.Invalid, 0);
            IsInvalidate = false;
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="index"></param>
 /// <param name="count"></param>
 /// <param name="isInvalidate"></param>
 public LogTableModification(LogEntryIndex index, int count, bool isInvalidate = false)
 {
     Section      = new LogTableSection(index, count);
     IsInvalidate = isInvalidate;
     Schema       = null;
 }