public ObjectReflector(ITypeResolver typeResolver, IGraphTypeAdapter graphTypeAdapter) { _typeResolver = typeResolver; _typeCache = new CachedRegistry <TypeInfo, GraphTypeInfo>(); }
public GraphTypeAdapter(IServiceProvider serviceProvider) { ServiceProvider = serviceProvider; _typeDescriptors = new CachedRegistry <Type, IGraphType>(serviceProvider); }