C# Класс CsDebugScript.Engine.Utility.CacheInvalidator

Helper method which invalidates all class fields which are caches starting from the given root objects.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

InvalidateCaches() публичный статический Метод

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.
Результат void