Files
mono/mcs/class/System.ServiceModel/System.Runtime.Serialization/DataContractAttribute.cs
T
Atsushi Eno fe9bd14c8f 2005-09-22 Atsushi Enomoto <[email protected]>
new files for new xmlserializer.


svn path=/trunk/mcs/; revision=50510
2005-09-22 16:44:47 +00:00

26 lines
474 B
C#

using System;
namespace System.Runtime.Serialization
{
[AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum,
Inherited = false, AllowMultiple = false)]
public sealed class DataContractAttribute : Attribute
{
string name, ns;
public DataContractAttribute ()
{
}
public string Name {
get { return name; }
set { name = value; }
}
public string Namespace {
get { return ns; }
set { ns = value; }
}
}
}