CodeConstructor.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // System.CodeDom CodeConstructor Class implementation
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. // Daniel Stodden ([email protected])
  7. //
  8. // (C) 2001 Ximian, Inc.
  9. //
  10. using System.Runtime.InteropServices;
  11. namespace System.CodeDom
  12. {
  13. [Serializable]
  14. [ClassInterface(ClassInterfaceType.AutoDispatch)]
  15. [ComVisible(true)]
  16. public class CodeConstructor
  17. : CodeMemberMethod
  18. {
  19. private CodeExpressionCollection baseConstructorArgs;
  20. private CodeExpressionCollection chainedConstructorArgs;
  21. //
  22. // Constructors
  23. //
  24. public CodeConstructor()
  25. {
  26. }
  27. //
  28. // Properties
  29. //
  30. public CodeExpressionCollection BaseConstructorArgs {
  31. get {
  32. if ( baseConstructorArgs == null )
  33. baseConstructorArgs = new CodeExpressionCollection();
  34. return baseConstructorArgs;
  35. }
  36. }
  37. public CodeExpressionCollection ChainedConstructorArgs {
  38. get {
  39. if ( chainedConstructorArgs == null )
  40. chainedConstructorArgs = new CodeExpressionCollection();
  41. return chainedConstructorArgs;
  42. }
  43. }
  44. }
  45. }