示例#1
0
        /* *******************************************************************
        *  Constructors
        * *******************************************************************/
        #region public Logger(LogEntry logEntry)

        /// <summary>
        /// Initializes a new instance of the <b>Logger</b> class.
        /// </summary>
        /// <param name="invoke"></param>
        /// <param name="logEntry"></param>
        public Logger(ISynchronizeInvoke invoke, LogEntry logEntry)
        {
            Name       = logEntry.Logger;
            Level      = logEntry.Level;
            DataSource = new SortableSearchableList <LogEntry>(invoke)
            {
                logEntry
            };
        }
示例#2
0
 public LogData(ISynchronizeInvoke invoke)
 {
     _invoke            = invoke;
     LoggerDataSource   = new SortableSearchableList <Logger>(invoke);
     LogEntryDataSource = new SortableSearchableList <LogEntry>(invoke);
 }