From 57e2a19023e7627bd97bfa98489fa660c9f1dda6 Mon Sep 17 00:00:00 2001 From: Claus Date: Fri, 27 Jan 2017 10:16:01 +0100 Subject: [PATCH] changing parameter name for IGridCellValueConnector.IsConnector. --- src/Umbraco.Core/Deploy/IGridCellValueConnector.cs | 10 +++++----- .../ValueConverters/GridValueConverter.cs | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Umbraco.Core/Deploy/IGridCellValueConnector.cs b/src/Umbraco.Core/Deploy/IGridCellValueConnector.cs index 65fde1ec0b..a4c5e7aeab 100644 --- a/src/Umbraco.Core/Deploy/IGridCellValueConnector.cs +++ b/src/Umbraco.Core/Deploy/IGridCellValueConnector.cs @@ -11,12 +11,12 @@ namespace Umbraco.Core.Deploy public interface IGridCellValueConnector { /// - /// Gets a value indicating whether the connector supports a specified grid editor alias. + /// Gets a value indicating whether the connector supports a specified grid editor view. /// - /// The grid editor alias. - /// A value indicating whether the connector supports the grid editor alias. - /// Note that can be string.Empty to indicate the "default" connector. - bool IsConnector(string alias); + /// The grid editor view. It needs to be the view instead of the alias as the view is really what identifies what kind of connector should be used. Alias can be anything and you can have multiple different aliases using the same kind of view. + /// A value indicating whether the connector supports the grid editor view. + /// Note that can be string.Empty to indicate the "default" connector. + bool IsConnector(string view); /// /// Gets the value to be deployed from the control value as a string. diff --git a/src/Umbraco.Core/PropertyEditors/ValueConverters/GridValueConverter.cs b/src/Umbraco.Core/PropertyEditors/ValueConverters/GridValueConverter.cs index b3db026c89..029d1c3546 100644 --- a/src/Umbraco.Core/PropertyEditors/ValueConverters/GridValueConverter.cs +++ b/src/Umbraco.Core/PropertyEditors/ValueConverters/GridValueConverter.cs @@ -5,7 +5,6 @@ using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Umbraco.Core.Configuration; -using Umbraco.Core.Configuration.Grid; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Models.PublishedContent;