Abp.Runtime.Caching.ICache.Clear()

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 7

1. Example

Project: aspnetboilerplate
Source File: TypedCacheWrapper.cs
public void Clear()
        {
            InternalCache.Clear();
        }

2. Example

Project: module-zero
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();
        }

3. Example

Project: aspnetboilerplate
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();
        }