Guest User

Untitled

a guest
Feb 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. public interface IEvents
  2. {
  3. void OnEscrever(string text);
  4. void OnEnable(bool b);
  5. void OnDisable(bool b);
  6. }
  7.  
  8. public class Herda1 : IEvents
  9. {
  10. public void OnDisable(bool b)
  11. {
  12. throw new NotImplementedException();
  13. }
  14.  
  15. public void OnEnable(bool b)
  16. {
  17. throw new NotImplementedException();
  18. }
  19.  
  20. public void OnEscrever(string text)
  21. {
  22. throw new NotImplementedException();
  23. }
  24. }
  25.  
  26. public class Herda2 : IEvents
  27. {
  28. public void OnDisable(bool b)
  29. {
  30. throw new NotImplementedException();
  31. }
  32.  
  33. public void OnEnable(bool b)
  34. {
  35. throw new NotImplementedException();
  36. }
  37.  
  38. public void OnEscrever(string text)
  39. {
  40. throw new NotImplementedException();
  41. }
  42. }
Add Comment
Please, Sign In to add comment