Пример #1
0
 public IMiddleware Create(Type middlewareType)
 {
     return((IMiddleware)_injectionResolver.GetService(middlewareType));
 }
Пример #2
0
 private IRepository <TEntity> Repository <TEntity>() where TEntity : BaseEntity
 {
     return(_safeInjectionResolver.GetService <IRepository <TEntity> >());
 }