Files
mono/mcs/class/System/System.CodeDom/CodeAttributeArgument.cs
T
2002-05-11 15:44:41 +00:00

62 lines
911 B
C#
Executable File

//
// System.CodeDom CodeAttributeArgument Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
using System.Runtime.InteropServices;
namespace System.CodeDom
{
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class CodeAttributeArgument
{
private string name;
private CodeExpression value;
//
// Constructors
//
public CodeAttributeArgument ()
{
}
public CodeAttributeArgument (CodeExpression value)
{
this.value = value;
}
public CodeAttributeArgument (string name, CodeExpression value)
{
this.name = name;
this.value = value;
}
//
// Properties
//
public string Name {
get {
return name;
}
set {
name = value;
}
}
public CodeExpression Value {
get {
return this.value;
}
set {
this.value = value;
}
}
}
}