C# Class Slapper.AutoMapper.Cache

Contains the methods and members responsible for this libraries caching concerns.
Mostrar archivo Open project: SlapperAutoMapper/Slapper.AutoMapper

Public Methods

Method Description
ClearAllCaches ( ) : void

Clears all internal caches.

ClearInstanceCache ( ) : void

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

Private Methods

Method 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 method

Clears all internal caches.
public static ClearAllCaches ( ) : void
return void

ClearInstanceCache() public static method

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