コード例 #1
0
ファイル: SchemaContext.cs プロジェクト: xgame92/hotchocolate
 public SchemaContext()
 {
     _serviceFactory    = new ServiceFactory();
     _typeRegistry      = new TypeRegistry(_serviceFactory);
     _resolverRegistry  = new ResolverRegistry();
     _directiveRegistry = new DirectiveRegistry();
 }
コード例 #2
0
ファイル: SchemaContext.cs プロジェクト: mac8005/hotchocolate
 public SchemaContext(ServiceManager serviceManager)
 {
     ServiceManager     = serviceManager;
     _typeRegistry      = new TypeRegistry(serviceManager);
     _resolverRegistry  = new ResolverRegistry();
     _directiveRegistry = new DirectiveRegistry();
 }
コード例 #3
0
 public SchemaContext()
 {
     _serviceFactory    = new ServiceFactory();
     _typeRegistry      = new TypeRegistry(_serviceFactory);
     _resolverRegistry  = new ResolverRegistry();
     _directiveRegistry = new DirectiveRegistry();
     DataLoaders        = new List <DataLoaderDescriptor>();
 }