C# Class CsDebugScript.Engine.Utility.CacheInvalidator

Helper method which invalidates all class fields which are caches starting from the given root objects.
Mostrar archivo Open project: southpolenator/WinDbgCs

Public Methods

Method Description
InvalidateCaches ( object rootObject ) : void

Invalidates all the instances of type ICache and DictionaryCache{TKey, TValue} which are fields of class given as root object and any fields of the same type in child fields recursively. Use it when there are massive changes and all the caches need to be invalidated.

Method Details

InvalidateCaches() public static method

Invalidates all the instances of type ICache and DictionaryCache{TKey, TValue} which are fields of class given as root object and any fields of the same type in child fields recursively. Use it when there are massive changes and all the caches need to be invalidated.
public static InvalidateCaches ( object rootObject ) : void
rootObject object Root object from which we recursively drop the caches.
return void