Completes U4-2929 Finish obsoleting the remaining legacy property editors

This commit is contained in:
Shannon
2013-10-21 18:36:46 +11:00
parent d8ff1e97b3
commit 70a1704b35
98 changed files with 149 additions and 35 deletions

View File

@@ -1,12 +1,15 @@
using System;
using umbraco.cms.businesslogic.property;
namespace umbraco.editorControls.userControlGrapper
{
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
public interface IUsercontrolDataEditor
{
object value { get; set;}
}
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
public interface IUsercontrolPropertyData
{
Property PropertyObject { set; }

View File

@@ -6,6 +6,7 @@ using System.Xml;
namespace umbraco.editorControls.userControlGrapper
{
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
public class SerializationHelper
{
public static object ValueFromXmlString(object value, Type type)

View File

@@ -6,6 +6,7 @@ using System.Xml;
namespace umbraco.editorControls.userControlGrapper
{
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
public class usercontrolData : umbraco.cms.businesslogic.datatype.DefaultData
{
public usercontrolData(umbraco.cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) { }

View File

@@ -8,6 +8,7 @@ using System.Collections.Generic;
namespace umbraco.editorControls.userControlGrapper
{
[ValidationProperty("Value")]
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
public class usercontrolDataEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataEditor
{
private umbraco.interfaces.IData _data;

View File

@@ -11,6 +11,7 @@ using Umbraco.Core;
namespace umbraco.editorControls.userControlGrapper
{
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
public class usercontrolDataType : umbraco.cms.businesslogic.datatype.BaseDataType, umbraco.interfaces.IDataType
{
private umbraco.interfaces.IDataEditor _Editor;

View File

@@ -19,7 +19,8 @@ using umbraco.cms.businesslogic.datatype;
namespace umbraco.editorControls.userControlGrapper
{
public class usercontrolPrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
public class usercontrolPrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue
{
public ISqlHelper SqlHelper
{