This commit is contained in:
JamesNK
2007-09-08 08:59:38 +00:00
commit e65bc2becd
43 changed files with 13240 additions and 0 deletions
@@ -0,0 +1,21 @@
using System;
namespace Newtonsoft.Json
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
public sealed class JsonPropertyAttribute : Attribute
{
private string _propertyName;
public string PropertyName
{
get { return _propertyName; }
set { _propertyName = value; }
}
public JsonPropertyAttribute(string propertyName)
{
_propertyName = propertyName;
}
}
}