public void WriteImportantItem(Direction Direction, string Text)
        {
            var item = new LogListItem(Direction, Text);

            item.IsImportant = true;
            LogListItem[] items = new LogListItem[] { item };
            WriteItems(items);
        }
Example #2
0
 public LogListItem(LogListItem from = null)
 {
     if (from != null)
     {
         this.Direction   = from.Direction;
         this.LogSpecial  = from.LogSpecial;
         this.LogTime     = from.LogTime;
         this.Text        = from.Text;
         this.Chunk       = from.Chunk;
         this.ChunkText   = from.ChunkText;
         this.IsImportant = from.IsImportant;
         this.MergeName   = from.MergeName;
         this.NewGroup    = from.NewGroup;
     }
 }
Example #3
0
        public ILogItem NewItem( )
        {
            var item = new LogListItem( );

            return(item);
        }
Example #4
0
        public ILogItem NewCopy()
        {
            var item = new LogListItem(this);

            return(item);
        }