CodeMemberMethod.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. public class CodeMemberMethod : CodeClassMember {
  11. CodeParameterDeclarationExpressionCollection parameters;
  12. CodeStatementCollection statements;
  13. string implementsType;
  14. string returnType;
  15. bool privateImplements;
  16. public CodeMemberMethod ()
  17. {
  18. }
  19. public string ImplementsType {
  20. get {
  21. return implementsType;
  22. }
  23. set {
  24. implementsType = value;
  25. }
  26. }
  27. public bool PrivateImplements {
  28. get {
  29. return privateImplements;
  30. }
  31. set {
  32. privateImplements = value;
  33. }
  34. }
  35. public string ReturnType {
  36. get {
  37. return returnType;
  38. }
  39. set {
  40. returnType = value;
  41. }
  42. }
  43. public CodeParameterDeclarationExpressionCollection Parameters {
  44. get {
  45. return parameters;
  46. }
  47. set {
  48. parameters = value;
  49. }
  50. }
  51. public CodeStatementCollection Statements {
  52. get {
  53. return statements;
  54. }
  55. set {
  56. statements = value;
  57. }
  58. }
  59. }
  60. }