コード例 #1
0
        public void WriteImportantItem(Direction Direction, string Text)
        {
            var item = new LogListItem(Direction, Text);

            item.IsImportant = true;
            LogListItem[] items = new LogListItem[] { item };
            WriteItems(items);
        }
コード例 #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;
     }
 }
コード例 #3
0
        public ILogItem NewItem( )
        {
            var item = new LogListItem( );

            return(item);
        }
コード例 #4
0
        public ILogItem NewCopy()
        {
            var item = new LogListItem(this);

            return(item);
        }