Files
mono/mcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs
T
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00

62 lines
924 B
C#
Executable File

//
// System.CodeDom CodeAttributeDeclaration Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
namespace System.CodeDom {
[Serializable]
public class CodeAttributeDeclaration {
string name;
CodeAttributeArgumentCollection arguments;
//
// Constructors
//
public CodeAttributeDeclaration ()
{
}
public CodeAttributeDeclaration (string name)
{
this.name = name;
}
public CodeAttributeDeclaration (string name, CodeAttributeArgument [] arguments)
{
this.name = name;
this.arguments = new CodeAttributeArgumentCollection ();
this.arguments.AddRange (arguments);
}
//
// Properties
//
public CodeAttributeArgumentCollection Arguments {
get {
return arguments;
}
set {
arguments = value;
}
}
public string Name {
get {
return name;
}
set {
name = value;
}
}
}
}