Files
Umbraco-CMS/components/editorControls/relatedlinks/PagePickerDataExtractor.cs
Shandem f6d0d043b5 DO NOT DOWNLOAD. DOWNLOAT LATEST STABLE FROM RELEASE TAB
Created 4.1.0 branch

[TFS Changeset #55082]
2009-06-19 07:39:16 +00:00

64 lines
1.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using umbraco.interfaces;
namespace umbraco.editorControls.relatedlinks
{
/// <summary>
/// Allows for the extraction of the link ID for the selected node of the
/// PagePicker (aka content picker) class for integration of the PagePicker
/// in another datatype.
/// This class replaces the database linkup that normally holds the data and
/// stores the data locally in memory and allows for easy access to the
/// data (after the IDataEditor has performed a save()).
/// This class was not designed for, but might work equally well for other datatypes.
/// </summary>
class PagePickerDataExtractor : IData
{
private object _value;
public PagePickerDataExtractor() { }
public PagePickerDataExtractor(object o)
{
Value = o;
}
#region IData Members
public void Delete()
{
throw new NotImplementedException();
}
public void MakeNew(int PropertyId)
{
throw new NotImplementedException();
}
public int PropertyId
{
set { throw new NotImplementedException(); }
}
public System.Xml.XmlNode ToXMl(System.Xml.XmlDocument d)
{
throw new NotImplementedException();
}
public object Value
{
get
{
return _value;
}
set
{
_value = value;
}
}
#endregion
}
}