CodeMemberMethod.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. //
  2. // System.CodeDom CodeMemberMethod Class implementation
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc.
  8. //
  9. namespace System.CodeDom {
  10. [Serializable]
  11. public class CodeMemberMethod : CodeTypeMember {
  12. CodeParameterDeclarationExpressionCollection parameters;
  13. CodeStatementCollection statements;
  14. string implementsType;
  15. string returnType;
  16. bool privateImplements;
  17. public CodeMemberMethod ()
  18. {
  19. }
  20. public string ImplementsType {
  21. get {
  22. return implementsType;
  23. }
  24. set {
  25. implementsType = value;
  26. }
  27. }
  28. public bool PrivateImplements {
  29. get {
  30. return privateImplements;
  31. }
  32. set {
  33. privateImplements = value;
  34. }
  35. }
  36. public string ReturnType {
  37. get {
  38. return returnType;
  39. }
  40. set {
  41. returnType = value;
  42. }
  43. }
  44. public CodeParameterDeclarationExpressionCollection Parameters {
  45. get {
  46. return parameters;
  47. }
  48. set {
  49. parameters = value;
  50. }
  51. }
  52. public CodeStatementCollection Statements {
  53. get {
  54. return statements;
  55. }
  56. set {
  57. statements = value;
  58. }
  59. }
  60. }
  61. }