Here are the examples of the csharp api class Abp.Runtime.Caching.ICache.Clear() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
Project: aspnetboilerplate
Source File: TypedCacheWrapper.cs
Source File: TypedCacheWrapper.cs
public void Clear() { InternalCache.Clear(); }
0
2. Example
Project: module-zero
Source File: ApplicationLanguageManager.cs
Source File: ApplicationLanguageManager.cs
public void HandleEvent(EntityChangedEventData<ApplicationLanguage> eventData) { LanguageListCache.Remove(eventData.Entity.TenantId ?? 0); //Also invalidate the language script cache _cacheManager.GetCache("AbpLocalizationScripts").Clear(); }
0
3. Example
Project: aspnetboilerplate
Source File: ApplicationLanguageManager.cs
Source File: ApplicationLanguageManager.cs
public void HandleEvent(EntityChangedEventData<ApplicationLanguage> eventData) { LanguageListCache.Remove(eventData.Entity.TenantId ?? 0); //Also invalidate the language script cache _cacheManager.GetCache("AbpLocalizationScripts").Clear(); }