Files
Umbraco-CMS/src/umbraco.MacroEngines/RazorDynamicNode/DynamicProperty.cs

26 lines
452 B
C#
Raw Normal View History

namespace System.Linq.Dynamic
{
public class DynamicProperty
{
string name;
Type type;
public DynamicProperty(string name, Type type)
{
if (name == null) throw new ArgumentNullException("name");
if (type == null) throw new ArgumentNullException("type");
this.name = name;
this.type = type;
}
public string Name
{
get { return name; }
}
public Type Type
{
get { return type; }
}
}
}