Class GridCellValueConnectorExtensions
Extension methods adding backwards-compatability between IGrid
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 SourceGetValue(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 |
---|---|---|
IGrid |
connector | The connector. |
Grid |
gridControl | The grid control. |
ICollection<Artifact |
dependencies | The dependencies. |
IContext |
contextCache | The context cache. |
Returns
Type | Description |
---|---|
System. |
The value. |
Remarks
This extension method tries to make use of the IContext
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 |
---|---|---|
IGrid |
connector | The connector. |
Grid |
gridControl | The grid control. |
IContext |
contextCache | The context cache. |
Remarks
This extension method tries to make use of the IContext