コード例 #1
0
        /// <summary>
        /// Get all stored records in BacktraceDatabase
        /// </summary>
        /// <returns>All stored records in BacktraceDatabase</returns>
        public IEnumerable <BacktraceDatabaseRecord> Get()
        {
            if (BacktraceDatabaseContext != null)
            {
                return(BacktraceDatabaseContext.Get());
            }

            return(new List <BacktraceDatabaseRecord>());
        }
コード例 #2
0
        /// <summary>
        /// Detect all orphaned minidump and files
        /// </summary>
        private void RemoveOrphaned()
        {
            var records = BacktraceDatabaseContext.Get();

            BacktraceDatabaseFileContext.RemoveOrphaned(records);
        }
コード例 #3
0
 /// <summary>
 /// Get all stored records in BacktraceDatabase
 /// </summary>
 /// <returns>All stored records in BacktraceDatabase</returns>
 public IEnumerable <BacktraceDatabaseRecord> Get()
 {
     return(BacktraceDatabaseContext?.Get() ?? new List <BacktraceDatabaseRecord>());
 }
コード例 #4
0
        /// <summary>
        /// Detect all orphaned minidump and files
        /// </summary>
        protected virtual void RemoveOrphaned()
        {
            var records = BacktraceDatabaseContext.Get();

            BacktraceDatabaseFileContext.RemoveOrphaned(records);
        }