C# Class Slapper.AutoMapper.Cache

Contains the methods and members responsible for this libraries caching concerns.
Afficher le fichier Open project: SlapperAutoMapper/Slapper.AutoMapper

Méthodes publiques

Méthode Description
ClearAllCaches ( ) : void

Clears all internal caches.

ClearInstanceCache ( ) : void

Clears the instance cache. This cache contains all objects created by Slapper.AutoMapper.

Private Methods

Méthode Description
GetInstanceCache ( ) : object>.Dictionary

Gets the instance cache containing all objects created by Slapper.AutoMapper. This cache exists for the lifetime of the current thread until manually cleared/purged.

Due to the nature of how the cache is persisted, each new thread will recieve it's own unique cache.

Method Details

ClearAllCaches() public static méthode

Clears all internal caches.
public static ClearAllCaches ( ) : void
Résultat void

ClearInstanceCache() public static méthode

Clears the instance cache. This cache contains all objects created by Slapper.AutoMapper.
public static ClearInstanceCache ( ) : void
Résultat void