using System.Runtime.Serialization;
using Umbraco.Core.Models.EntityBase;
namespace Umbraco.Core.Models
{
///
/// Defines a Property for a Macro
///
public interface IMacroProperty : IValueObject
{
///
/// Gets or sets the Alias of the Property
///
[DataMember]
string Alias { get; set; }
///
/// Gets or sets the Name of the Property
///
[DataMember]
string Name { get; set; }
///
/// Gets or sets the Sort Order of the Property
///
[DataMember]
int SortOrder { get; set; }
///
/// Gets or sets the Type for this Property
///
///
/// The MacroPropertyTypes acts as a plugin for Macros.
/// All types was previously contained in the database, but has been ported to code.
///
[DataMember]
IMacroPropertyType PropertyType { get; set; }
}
}