Files
mono/mcs/class/System.ServiceModel/System.Runtime.Serialization/DataContractAttribute.cs
T
Atsushi Eno f2eba88652 2005-09-22 Atsushi Enomoto <[email protected]>
#if NET_2_0. coding style was updated.


svn path=/trunk/mcs/; revision=50516
2005-09-22 17:18:45 +00:00

28 lines
493 B
C#

#if NET_2_0
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; }
}
}
}
#endif