Search Results for

    Show / Hide Table of Contents
    View Source

    Class DistributedCacheExtensions

    Extension methods for DistributedCache.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class DistributedCacheExtensions

    Methods

    View Source

    RefreshAllContentCache(DistributedCache)

    Declaration
    public static void RefreshAllContentCache(this DistributedCache dc)
    Parameters
    Type Name Description
    DistributedCache dc
    View Source

    RefreshAllDomainCache(DistributedCache)

    Declaration
    public static void RefreshAllDomainCache(this DistributedCache dc)
    Parameters
    Type Name Description
    DistributedCache dc
    View Source

    RefreshAllMediaCache(DistributedCache)

    Declaration
    public static void RefreshAllMediaCache(this DistributedCache dc)
    Parameters
    Type Name Description
    DistributedCache dc
    View Source

    RefreshAllPublishedSnapshot(DistributedCache)

    Declaration
    public static void RefreshAllPublishedSnapshot(this DistributedCache dc)
    Parameters
    Type Name Description
    DistributedCache dc
    View Source

    RefreshAllUserCache(DistributedCache)

    Declaration
    public static void RefreshAllUserCache(this DistributedCache dc)
    Parameters
    Type Name Description
    DistributedCache dc
    View Source

    RefreshAllUserGroupCache(DistributedCache)

    Declaration
    public static void RefreshAllUserGroupCache(this DistributedCache dc)
    Parameters
    Type Name Description
    DistributedCache dc
    View Source

    RefreshContentCache(DistributedCache, IEnumerable<TreeChange<IContent>>)

    Declaration
    public static void RefreshContentCache(this DistributedCache dc, IEnumerable<TreeChange<IContent>> changes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<TreeChange<IContent>> changes
    View Source

    RefreshContentTypeCache(DistributedCache, IEnumerable<ContentTypeChange<IContentType>>)

    Declaration
    public static void RefreshContentTypeCache(this DistributedCache dc, IEnumerable<ContentTypeChange<IContentType>> changes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<ContentTypeChange<IContentType>> changes
    View Source

    RefreshContentTypeCache(DistributedCache, IEnumerable<ContentTypeChange<IMediaType>>)

    Declaration
    public static void RefreshContentTypeCache(this DistributedCache dc, IEnumerable<ContentTypeChange<IMediaType>> changes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<ContentTypeChange<IMediaType>> changes
    View Source

    RefreshContentTypeCache(DistributedCache, IEnumerable<ContentTypeChange<IMemberType>>)

    Declaration
    public static void RefreshContentTypeCache(this DistributedCache dc, IEnumerable<ContentTypeChange<IMemberType>> changes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<ContentTypeChange<IMemberType>> changes
    View Source

    RefreshDataTypeCache(DistributedCache, IEnumerable<IDataType>)

    Declaration
    public static void RefreshDataTypeCache(this DistributedCache dc, IEnumerable<IDataType> dataTypes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IDataType> dataTypes
    View Source

    RefreshDictionaryCache(DistributedCache, IEnumerable<IDictionaryItem>)

    Declaration
    public static void RefreshDictionaryCache(this DistributedCache dc, IEnumerable<IDictionaryItem> dictionaryItems)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IDictionaryItem> dictionaryItems
    View Source

    RefreshDictionaryCache(DistributedCache, Int32)

    Declaration
    public static void RefreshDictionaryCache(this DistributedCache dc, int dictionaryItemId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 dictionaryItemId
    View Source

    RefreshDomainCache(DistributedCache, IEnumerable<IDomain>)

    Declaration
    public static void RefreshDomainCache(this DistributedCache dc, IEnumerable<IDomain> domains)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IDomain> domains
    View Source

    RefreshLanguageCache(DistributedCache, IEnumerable<ILanguage>)

    Declaration
    public static void RefreshLanguageCache(this DistributedCache dc, IEnumerable<ILanguage> languages)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<ILanguage> languages
    View Source

    RefreshMediaCache(DistributedCache, IEnumerable<TreeChange<IMedia>>)

    Declaration
    public static void RefreshMediaCache(this DistributedCache dc, IEnumerable<TreeChange<IMedia>> changes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<TreeChange<IMedia>> changes
    View Source

    RefreshMemberCache(DistributedCache, IEnumerable<IMember>)

    Declaration
    public static void RefreshMemberCache(this DistributedCache dc, IEnumerable<IMember> members)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IMember> members
    View Source

    RefreshMemberGroupCache(DistributedCache, IEnumerable<IMemberGroup>)

    Declaration
    public static void RefreshMemberGroupCache(this DistributedCache dc, IEnumerable<IMemberGroup> memberGroups)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IMemberGroup> memberGroups
    View Source

    RefreshMemberGroupCache(DistributedCache, Int32)

    Declaration
    public static void RefreshMemberGroupCache(this DistributedCache dc, int memberGroupId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 memberGroupId
    View Source

    RefreshPublicAccess(DistributedCache)

    Declaration
    public static void RefreshPublicAccess(this DistributedCache dc)
    Parameters
    Type Name Description
    DistributedCache dc
    View Source

    RefreshRelationTypeCache(DistributedCache, IEnumerable<IRelationType>)

    Declaration
    public static void RefreshRelationTypeCache(this DistributedCache dc, IEnumerable<IRelationType> relationTypes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IRelationType> relationTypes
    View Source

    RefreshRelationTypeCache(DistributedCache, Int32)

    Declaration
    public static void RefreshRelationTypeCache(this DistributedCache dc, int id)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 id
    View Source

    RefreshTemplateCache(DistributedCache, IEnumerable<ITemplate>)

    Declaration
    public static void RefreshTemplateCache(this DistributedCache dc, IEnumerable<ITemplate> templates)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<ITemplate> templates
    View Source

    RefreshTemplateCache(DistributedCache, Int32)

    Declaration
    public static void RefreshTemplateCache(this DistributedCache dc, int templateId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 templateId
    View Source

    RefreshUserCache(DistributedCache, IEnumerable<IUser>)

    Declaration
    public static void RefreshUserCache(this DistributedCache dc, IEnumerable<IUser> users)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IUser> users
    View Source

    RefreshUserGroupCache(DistributedCache, IEnumerable<IUserGroup>)

    Declaration
    public static void RefreshUserGroupCache(this DistributedCache dc, IEnumerable<IUserGroup> userGroups)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IUserGroup> userGroups
    View Source

    RefreshUserGroupCache(DistributedCache, Int32)

    Declaration
    public static void RefreshUserGroupCache(this DistributedCache dc, int userId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 userId
    View Source

    RefreshValueEditorCache(DistributedCache, IEnumerable<IDataType>)

    Declaration
    public static void RefreshValueEditorCache(this DistributedCache dc, IEnumerable<IDataType> dataTypes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IDataType> dataTypes
    View Source

    RemoveDataTypeCache(DistributedCache, IEnumerable<IDataType>)

    Declaration
    public static void RemoveDataTypeCache(this DistributedCache dc, IEnumerable<IDataType> dataTypes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IDataType> dataTypes
    View Source

    RemoveDictionaryCache(DistributedCache, IEnumerable<IDictionaryItem>)

    Declaration
    public static void RemoveDictionaryCache(this DistributedCache dc, IEnumerable<IDictionaryItem> dictionaryItems)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IDictionaryItem> dictionaryItems
    View Source

    RemoveDictionaryCache(DistributedCache, Int32)

    Declaration
    public static void RemoveDictionaryCache(this DistributedCache dc, int dictionaryItemId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 dictionaryItemId
    View Source

    RemoveDomainCache(DistributedCache, IEnumerable<IDomain>)

    Declaration
    public static void RemoveDomainCache(this DistributedCache dc, IEnumerable<IDomain> domains)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IDomain> domains
    View Source

    RemoveLanguageCache(DistributedCache, IEnumerable<ILanguage>)

    Declaration
    public static void RemoveLanguageCache(this DistributedCache dc, IEnumerable<ILanguage> languages)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<ILanguage> languages
    View Source

    RemoveMemberCache(DistributedCache, IEnumerable<IMember>)

    Declaration
    public static void RemoveMemberCache(this DistributedCache dc, IEnumerable<IMember> members)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IMember> members
    View Source

    RemoveMemberGroupCache(DistributedCache, IEnumerable<IMemberGroup>)

    Declaration
    public static void RemoveMemberGroupCache(this DistributedCache dc, IEnumerable<IMemberGroup> memberGroups)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IMemberGroup> memberGroups
    View Source

    RemoveMemberGroupCache(DistributedCache, Int32)

    Declaration
    public static void RemoveMemberGroupCache(this DistributedCache dc, int memberGroupId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 memberGroupId
    View Source

    RemoveRelationTypeCache(DistributedCache, IEnumerable<IRelationType>)

    Declaration
    public static void RemoveRelationTypeCache(this DistributedCache dc, IEnumerable<IRelationType> relationTypes)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IRelationType> relationTypes
    View Source

    RemoveRelationTypeCache(DistributedCache, Int32)

    Declaration
    public static void RemoveRelationTypeCache(this DistributedCache dc, int id)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 id
    View Source

    RemoveTemplateCache(DistributedCache, IEnumerable<ITemplate>)

    Declaration
    public static void RemoveTemplateCache(this DistributedCache dc, IEnumerable<ITemplate> templates)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<ITemplate> templates
    View Source

    RemoveTemplateCache(DistributedCache, Int32)

    Declaration
    public static void RemoveTemplateCache(this DistributedCache dc, int templateId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 templateId
    View Source

    RemoveUserCache(DistributedCache, IEnumerable<IUser>)

    Declaration
    public static void RemoveUserCache(this DistributedCache dc, IEnumerable<IUser> users)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IUser> users
    View Source

    RemoveUserGroupCache(DistributedCache, IEnumerable<IUserGroup>)

    Declaration
    public static void RemoveUserGroupCache(this DistributedCache dc, IEnumerable<IUserGroup> userGroups)
    Parameters
    Type Name Description
    DistributedCache dc
    IEnumerable<IUserGroup> userGroups
    View Source

    RemoveUserGroupCache(DistributedCache, Int32)

    Declaration
    public static void RemoveUserGroupCache(this DistributedCache dc, int userId)
    Parameters
    Type Name Description
    DistributedCache dc
    System.Int32 userId
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • RefreshAllContentCache(DistributedCache)
      • RefreshAllDomainCache(DistributedCache)
      • RefreshAllMediaCache(DistributedCache)
      • RefreshAllPublishedSnapshot(DistributedCache)
      • RefreshAllUserCache(DistributedCache)
      • RefreshAllUserGroupCache(DistributedCache)
      • RefreshContentCache(DistributedCache, IEnumerable<TreeChange<IContent>>)
      • RefreshContentTypeCache(DistributedCache, IEnumerable<ContentTypeChange<IContentType>>)
      • RefreshContentTypeCache(DistributedCache, IEnumerable<ContentTypeChange<IMediaType>>)
      • RefreshContentTypeCache(DistributedCache, IEnumerable<ContentTypeChange<IMemberType>>)
      • RefreshDataTypeCache(DistributedCache, IEnumerable<IDataType>)
      • RefreshDictionaryCache(DistributedCache, IEnumerable<IDictionaryItem>)
      • RefreshDictionaryCache(DistributedCache, Int32)
      • RefreshDomainCache(DistributedCache, IEnumerable<IDomain>)
      • RefreshLanguageCache(DistributedCache, IEnumerable<ILanguage>)
      • RefreshMediaCache(DistributedCache, IEnumerable<TreeChange<IMedia>>)
      • RefreshMemberCache(DistributedCache, IEnumerable<IMember>)
      • RefreshMemberGroupCache(DistributedCache, IEnumerable<IMemberGroup>)
      • RefreshMemberGroupCache(DistributedCache, Int32)
      • RefreshPublicAccess(DistributedCache)
      • RefreshRelationTypeCache(DistributedCache, IEnumerable<IRelationType>)
      • RefreshRelationTypeCache(DistributedCache, Int32)
      • RefreshTemplateCache(DistributedCache, IEnumerable<ITemplate>)
      • RefreshTemplateCache(DistributedCache, Int32)
      • RefreshUserCache(DistributedCache, IEnumerable<IUser>)
      • RefreshUserGroupCache(DistributedCache, IEnumerable<IUserGroup>)
      • RefreshUserGroupCache(DistributedCache, Int32)
      • RefreshValueEditorCache(DistributedCache, IEnumerable<IDataType>)
      • RemoveDataTypeCache(DistributedCache, IEnumerable<IDataType>)
      • RemoveDictionaryCache(DistributedCache, IEnumerable<IDictionaryItem>)
      • RemoveDictionaryCache(DistributedCache, Int32)
      • RemoveDomainCache(DistributedCache, IEnumerable<IDomain>)
      • RemoveLanguageCache(DistributedCache, IEnumerable<ILanguage>)
      • RemoveMemberCache(DistributedCache, IEnumerable<IMember>)
      • RemoveMemberGroupCache(DistributedCache, IEnumerable<IMemberGroup>)
      • RemoveMemberGroupCache(DistributedCache, Int32)
      • RemoveRelationTypeCache(DistributedCache, IEnumerable<IRelationType>)
      • RemoveRelationTypeCache(DistributedCache, Int32)
      • RemoveTemplateCache(DistributedCache, IEnumerable<ITemplate>)
      • RemoveTemplateCache(DistributedCache, Int32)
      • RemoveUserCache(DistributedCache, IEnumerable<IUser>)
      • RemoveUserGroupCache(DistributedCache, IEnumerable<IUserGroup>)
      • RemoveUserGroupCache(DistributedCache, Int32)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX