/examples/ioc/CarLibrary4/Person.cs

http://github.com/philiplaureano/LinFu · C# · 43 lines · 38 code · 5 blank · 0 comment · 0 complexity · a29a9f374e1b3e8bfb5d8fa424e4c718 MD5 · raw file

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using LinFu.IoC;
  5. using LinFu.IoC.Configuration;
  6. using LinFu.IoC.Interfaces;
  7. namespace CarLibrary3
  8. {
  9. public class Person : IPerson
  10. {
  11. private string _name;
  12. private int _age;
  13. #region IPerson Members
  14. public string Name
  15. {
  16. get
  17. {
  18. return _name;
  19. }
  20. set
  21. {
  22. _name = value;
  23. }
  24. }
  25. public int Age
  26. {
  27. get
  28. {
  29. return _age;
  30. }
  31. set
  32. {
  33. _age = value;
  34. }
  35. }
  36. #endregion
  37. }
  38. }