Esempio n. 1
0
        /// <inheritdoc />
        public void GetEntries(IReadOnlyList <LogLineIndex> indices, ILogEntries buffer, int destinationIndex)
        {
            ILogFile logFile = _innerLogFile;

            if (logFile != null)
            {
                logFile.GetEntries(indices, buffer, destinationIndex);
            }
            else
            {
                foreach (var column in buffer.Columns)
                {
                    buffer.FillDefault(column, destinationIndex, indices.Count);
                }
            }
        }
Esempio n. 2
0
        /// <inheritdoc />
        public void GetEntries(LogFileSection section, ILogEntries buffer, int destinationIndex)
        {
            ILogFile logFile = _innerLogFile;

            if (logFile != null)
            {
                logFile.GetEntries(section, buffer, destinationIndex);
            }
            else
            {
                foreach (var column in buffer.Columns)
                {
                    buffer.FillDefault(column, destinationIndex, section.Count);
                }
            }
        }