Files
mono/mcs/class/System.ServiceModel/System.Runtime.Serialization/DataMemberAttribute.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

35 lines
589 B
C#

#if NET_2_0
using System;
namespace System.Runtime.Serialization
{
[AttributeUsage (AttributeTargets.Property | AttributeTargets.Field,
Inherited = false, AllowMultiple = false)]
public sealed class DataMemberAttribute : Attribute
{
bool is_required;
string name;
int order;
public DataMemberAttribute ()
{
}
public bool IsRequired {
get { return is_required; }
set { is_required = value; }
}
public string Name {
get { return name; }
set { name = value; }
}
public int Order {
get { return order; }
set { order = value; }
}
}
}
#endif