| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- //
- // System.CodeDom CodeAttributeDeclaration Class implementation
- //
- // Author:
- // Miguel de Icaza ([email protected])
- // Daniel Stodden ([email protected])
- //
- // (C) 2001 Ximian, Inc.
- //
- using System.Runtime.InteropServices;
- namespace System.CodeDom
- {
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeAttributeDeclaration
- {
- private string name;
- private CodeAttributeArgumentCollection arguments;
-
- //
- // Constructors
- //
- public CodeAttributeDeclaration ()
- {
- }
- public CodeAttributeDeclaration (string name)
- {
- this.name = name;
- }
- public CodeAttributeDeclaration (string name, CodeAttributeArgument [] arguments)
- {
- this.name = name;
- Arguments.AddRange (arguments);
- }
- //
- // Properties
- //
- public CodeAttributeArgumentCollection Arguments {
- get {
- if ( arguments == null )
- arguments = new CodeAttributeArgumentCollection();
- return arguments;
- }
- }
- public string Name {
- get {
- return name;
- }
- set {
- name = value;
- }
- }
- }
- }
|