Files
mono/mcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs
T
Sean MacIsaac 7fc6d7d59d Fixed all sorts of compiler errors.
svn path=/trunk/mcs/; revision=124
2001-07-13 22:20:51 +00:00

61 lines
908 B
C#
Executable File

//
// System.CodeDom CodeAttributeDeclaration Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
namespace System.CodeDom {
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;
}
}
}
}