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

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