Exemplo n.º 1
0
 // RegularController makes demands about its dependencies.
 public RegularController()
 {
     repository = new RegularRepository();
     validator = new RegularValidator();
 }
Exemplo n.º 2
0
 public LiskovFail(IRepository repository)
 {
     // FAIL
     regularRepository = (RegularRepository)repository;
 }