CodeConstructor.cs 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. // Properties
  23. //
  24. public CodeExpressionCollection BaseConstructorArgs {
  25. get {
  26. if ( baseConstructorArgs == null )
  27. baseConstructorArgs = new CodeExpressionCollection();
  28. return baseConstructorArgs;
  29. }
  30. }
  31. public CodeExpressionCollection ChainedConstructorArgs {
  32. get {
  33. if ( chainedConstructorArgs == null )
  34. chainedConstructorArgs = new CodeExpressionCollection();
  35. return chainedConstructorArgs;
  36. }
  37. }
  38. }
  39. }