public SchemaContext() { _serviceFactory = new ServiceFactory(); _typeRegistry = new TypeRegistry(_serviceFactory); _resolverRegistry = new ResolverRegistry(); _directiveRegistry = new DirectiveRegistry(); }
public SchemaContext(ServiceManager serviceManager) { ServiceManager = serviceManager; _typeRegistry = new TypeRegistry(serviceManager); _resolverRegistry = new ResolverRegistry(); _directiveRegistry = new DirectiveRegistry(); }
public SchemaContext() { _serviceFactory = new ServiceFactory(); _typeRegistry = new TypeRegistry(_serviceFactory); _resolverRegistry = new ResolverRegistry(); _directiveRegistry = new DirectiveRegistry(); DataLoaders = new List <DataLoaderDescriptor>(); }