CodeClassDelegate.cs 743 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // System.CodeDom CodeClassDelegate 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 CodeClassDelegate : CodeClass {
  11. CodeParameterDeclarationExpressionCollection parameters;
  12. string returnType;
  13. string name;
  14. //
  15. // Constructors
  16. //
  17. public CodeClassDelegate ()
  18. {
  19. }
  20. public CodeClassDelegate (string name)
  21. {
  22. this.name = name;
  23. }
  24. //
  25. // Properties
  26. //
  27. public CodeParameterDeclarationExpressionCollection Parameters {
  28. get {
  29. return parameters;
  30. }
  31. set {
  32. parameters = value;
  33. }
  34. }
  35. public string ReturnType {
  36. get {
  37. return returnType;
  38. }
  39. set {
  40. returnType = value;
  41. }
  42. }
  43. }
  44. }