Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDataTypeConfigurationCache

    Represents a cache for IDataType configuration.

    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDataTypeConfigurationCache

    Methods

    View Source

    ClearCache(IEnumerable<Guid>)

    Clears the cache for the specified keys.

    Declaration
    void ClearCache(IEnumerable<Guid> keys)
    Parameters
    Type Name Description
    IEnumerable<Guid> keys

    The keys.

    View Source

    GetConfiguration(Guid)

    Gets the data type configuration.

    Declaration
    virtual object GetConfiguration(Guid key)
    Parameters
    Type Name Description
    Guid key

    The data type key.

    Returns
    Type Description
    System.Object

    The data type configuration.

    View Source

    GetConfigurationAs<T>(Guid)

    Gets the data type configuration as T.

    Declaration
    T GetConfigurationAs<T>(Guid key)
        where T : class
    Parameters
    Type Name Description
    Guid key

    The data type key.

    Returns
    Type Description
    T

    The data type configuration as T.

    Type Parameters
    Name Description
    T

    The data type configuration type.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • ClearCache(IEnumerable<Guid>)
      • GetConfiguration(Guid)
      • GetConfigurationAs<T>(Guid)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX