protected override async Task InnerClear()
 {
     using (var _db = new LiteDatabase(_dbFilePath))
     {
         _db.DropCollection(_collectionName);
     }
     _cache.Clear();
 }
        protected override async Task InnerClear()
        {
            await _db.DropCollectionAsync(_collectionName);

            _cache.Clear();
        }
 /// <inheritdoc />
 public void MapTypeToLoggerName(Type type, string loggerName)
 {
     _typesToLoggers[type] = loggerName;
     _typesToLoggersCache.Clear();
 }
Beispiel #4
0
 public void ClearCache()
 {
     _cache.Clear();
 }