SubBoundObject.cs 522 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace UAS_Web.tool
  6. {
  7. class SubBoundObject
  8. {
  9. public string SimpleProperty { get; set; }
  10. public SubBoundObject()
  11. {
  12. SimpleProperty = "This is a very simple property.";
  13. }
  14. public string GetMyType()
  15. {
  16. return "My Type is " + GetType();
  17. }
  18. public string EchoSimpleProperty()
  19. {
  20. return SimpleProperty;
  21. }
  22. }
  23. }