예제 #1
0
 public SchemaContext()
 {
     _serviceFactory    = new ServiceFactory();
     _typeRegistry      = new TypeRegistry(_serviceFactory);
     _resolverRegistry  = new ResolverRegistry();
     _directiveRegistry = new DirectiveRegistry();
 }
예제 #2
0
 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>();
 }
예제 #4
0
 public SchemaContext()
 {
     _typeRegistry     = new TypeRegistry();
     _resolverRegistry = new ResolverRegistry();
 }