mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
61 lines
908 B
C#
Executable File
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|