/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="path">path of the sql file</param>
        public LogEntrySqliteRepository(string path)
        {
            Path = path;
            AbstractEntriesProviderBase provider = EntriesProviderFactory.GetProvider(EntriesProviderType.Sqlite);

            AddLogEntries(provider.GetEntries(path));
        }
Exemple #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="path">path of the file</param>
        public LogEntryFileRepository(string path)
            : this()
        {
            Path = path;
            AbstractEntriesProviderBase provider = EntriesProviderFactory.GetProvider();

            AddLogEntries(provider.GetEntries(path));
        }