2013-09-17 17:18:54 +10:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// A macro's property collection
|
|
|
|
|
|
/// </summary>
|
2013-09-19 17:34:57 +10:00
|
|
|
|
public class MacroPropertyCollection : ObservableDictionary<string, IMacroProperty>
|
2013-09-17 17:18:54 +10:00
|
|
|
|
{
|
|
|
|
|
|
public MacroPropertyCollection()
|
|
|
|
|
|
: base(property => property.Alias)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|