public void WriteImportantItem(Direction Direction, string Text) { var item = new LogListItem(Direction, Text); item.IsImportant = true; LogListItem[] items = new LogListItem[] { item }; WriteItems(items); }
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; } }
public ILogItem NewItem( ) { var item = new LogListItem( ); return(item); }
public ILogItem NewCopy() { var item = new LogListItem(this); return(item); }