Search Results for

    Show / Hide Table of Contents
    View Source

    Class GridCellValueConnectorExtensions

    Extension methods adding backwards-compatability between IGridCellValueConnector and IGridCellValueConnector2.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public static class GridCellValueConnectorExtensions
    Remarks

    These extension methods will be removed in Umbraco 13.

    Methods

    View Source

    GetValue(IGridCellValueConnector, GridValue.GridControl, ICollection<ArtifactDependency>, IContextCache)

    Gets the value.

    Declaration
    public static string GetValue(this IGridCellValueConnector connector, GridValue.GridControl gridControl, ICollection<ArtifactDependency> dependencies, IContextCache contextCache)
    Parameters
    Type Name Description
    IGridCellValueConnector connector

    The connector.

    GridValue.GridControl gridControl

    The grid control.

    ICollection<ArtifactDependency> dependencies

    The dependencies.

    IContextCache contextCache

    The context cache.

    Returns
    Type Description
    System.String

    The value.

    Remarks

    This extension method tries to make use of the IContextCache on types also implementing IGridCellValueConnector2.

    View Source

    SetValue(IGridCellValueConnector, GridValue.GridControl, IContextCache)

    Sets the value.

    Declaration
    public static void SetValue(this IGridCellValueConnector connector, GridValue.GridControl gridControl, IContextCache contextCache)
    Parameters
    Type Name Description
    IGridCellValueConnector connector

    The connector.

    GridValue.GridControl gridControl

    The grid control.

    IContextCache contextCache

    The context cache.

    Remarks

    This extension method tries to make use of the IContextCache on types also implementing IGridCellValueConnector2.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetValue(IGridCellValueConnector, GridValue.GridControl, ICollection<ArtifactDependency>, IContextCache)
      • SetValue(IGridCellValueConnector, GridValue.GridControl, IContextCache)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX