Пример #1
0
 public Schema ResolveSchema()
 {
     return(_safeServiceResolver.GetService <CommonGraphScheme>());
 }
Пример #2
0
 private IRepository <TEntity> GetRepository <TEntity>() where TEntity : BaseEntity
 {
     return(_safeServiceResolver.GetService <IRepository <TEntity> >());
 }
Пример #3
0
 public IMiddleware Create(Type middlewareType)
 {
     return((IMiddleware)_serviceResolver.GetService(middlewareType));
 }