Finishes macro repository + tests.

This commit is contained in:
Shannon
2013-09-17 17:54:09 +10:00
parent f2f8004599
commit 89f2c0e38f
9 changed files with 661 additions and 265 deletions

View File

@@ -12,6 +12,19 @@ namespace Umbraco.Core.Models
[DataContract(IsReference = true)]
internal class MacroProperty : TracksChangesEntityBase, IMacroProperty, IRememberBeingDirty
{
public MacroProperty()
{
}
public MacroProperty(string @alias, string name, int sortOrder, IMacroPropertyType propertyType)
{
_alias = alias;
_name = name;
_sortOrder = sortOrder;
_propertyType = propertyType;
}
private string _alias;
private string _name;
private int _sortOrder;