CodeAttributeBlock.cs 687 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // System.CodeDom CodeAttributeBlock Class implementation
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc.
  8. //
  9. namespace System.CodeDom {
  10. public class CodeAttributeBlock {
  11. CodeAttributeDeclarationCollection attributes;
  12. //
  13. // Constructors
  14. //
  15. public CodeAttributeBlock ()
  16. {
  17. }
  18. public CodeAttributeBlock (CodeAttributeDeclaration [] attributes)
  19. {
  20. this.attributes = new CodeAttributeDeclarationCollection ();
  21. this.attributes.AddRange (attributes);
  22. }
  23. //
  24. // Prpoperties
  25. //
  26. public CodeAttributeDeclarationCollection Attributes {
  27. get {
  28. return attributes;
  29. }
  30. set {
  31. attributes = value;
  32. }
  33. }
  34. }
  35. }