4 namespace Hammock.Attributes.Specialized
9 [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
10 public class EntityAttribute : Attribute
12 public EntityAttribute()
14 ContentType = "text/xml";
15 ContentEncoding = Encoding.UTF8;
18 public virtual string ContentType { get; private set; }
19 public virtual Encoding ContentEncoding { get; set; }