示例#1
0
 public static DAL Factory(FileLocalRepository r, SearcherDAL d)
 {
     return(new DAL(r, d));
 }
示例#2
0
 protected DAL(FileLocalRepository r, SearcherDAL dal)
 {
     repo     = r;
     searcher = dal;
 }
示例#3
0
 private DAL()
 {
     searcher = new SearcherDAL();           //TODO: dependency injector
     repo     = new MemoryLocalRepository(); //TODO: dependency injector
 }