示例#1
0
 private IContextRepositories GetRepositories()
 {
     if (_repos == null)
     {
         _repos = DIFactory.Get <IContextRepositories>();
     }
     return(_repos);
 }
 public ValuesController(IContextRepositories r)
 {
     this.R = r;
 }
示例#3
0
 public ValuesController(IContextRepositories r)
 {
     this.R = r;
 }
 public NormalUsersController(IContextRepositories repos, IKernel kernel)
 {
     this.R = repos;
     ViewBag.R = repos;
     this.Kernel = kernel;
 }
示例#5
0
 public NormalUsersController(IContextRepositories repos, IKernel kernel)
 {
     this.R      = repos;
     ViewBag.R   = repos;
     this.Kernel = kernel;
 }
 private IContextRepositories GetRepositories()
 {
     if (_repos == null)
         _repos = DIFactory.Get<IContextRepositories>();
     return _repos;
 }