Guest User

Untitled

a guest
Nov 20th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public interface IConcreteEntityA : IActivatableEntity
  2. {
  3. //...
  4. }
  5.  
  6. public interface IConcreteEntityB : IActivatableEntity, IAuditEntity //not possible!!!
  7. {
  8. //...
  9. }
  10.  
  11. public interface IAuditEntity
  12. {
  13. DateTime CreatedOn { get; set; }
  14. DateTime ModifiedOn { get; set; }
  15. }
  16.  
  17. public interface IActivatableEntity
  18. {
  19. bool IsActive { get; set; }
  20.  
  21. void Active();
  22. void DeActivate();
  23. }
Add Comment
Please, Sign In to add comment