/// <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>()); }
/// <summary> /// Detect all orphaned minidump and files /// </summary> private void RemoveOrphaned() { var records = BacktraceDatabaseContext.Get(); BacktraceDatabaseFileContext.RemoveOrphaned(records); }
/// <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>()); }
/// <summary> /// Detect all orphaned minidump and files /// </summary> protected virtual void RemoveOrphaned() { var records = BacktraceDatabaseContext.Get(); BacktraceDatabaseFileContext.RemoveOrphaned(records); }