Search Results for

    Show / Hide Table of Contents
    View Source

    Class RepositoryCacheKeys

    Provides cache keys for repositories.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Persistence.Repositories
    Assembly: Umbraco.Core.dll
    Syntax
    public static class RepositoryCacheKeys

    Methods

    View Source

    GetKey<T>()

    Gets the repository cache key for the provided type.

    Declaration
    public static string GetKey<T>()
    Returns
    Type Description
    string
    Type Parameters
    Name Description
    T
    View Source

    GetKey<T, TId>(TId?)

    Gets the repository cache key for the provided type and Id.

    Declaration
    public static string GetKey<T, TId>(TId? id)
    Parameters
    Type Name Description
    TId id
    Returns
    Type Description
    string
    Type Parameters
    Name Description
    T
    TId
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX