Files
Umbraco-CMS/src/Umbraco.Tests/CodeFirst/Attributes/DescriptionAttribute.cs
Morten Christensen 1053492a29 Freedom Friday POC of native code first - limited to test project.
Making a few corrections to the serialization attributes after having tested ContentType Serialization.
Enabling bulk saving of new ContentTypes with Parent/Composition dependencies.
2012-11-23 19:58:19 -01:00

18 lines
508 B
C#

using System;
namespace Umbraco.Tests.CodeFirst.Attributes
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class DescriptionAttribute : Attribute
{
public DescriptionAttribute(string description)
{
Description = description;
}
/// <summary>
/// Gets or sets the Description of the Property
/// </summary>
public string Description { get; private set; }
}
}