예제 #1
0
        private static IGraphQlResolvable CreateContract(Type contractType, IGraphQlServiceProvider serviceProvider)
        {
            var contract = serviceProvider.GetResolverContract(contractType);

            return(contract);
        }
예제 #2
0
 public IntrospectionQuery(IGraphQlServiceProvider servicesProvider)
 {
     this.originalQuery            = (TQuery)servicesProvider.GetResolverContract(typeof(TQuery));
     this.typeListing              = servicesProvider.GetTypeListing();
     this.introspectionTypeListing = new Interfaces.Introspection.TypeListing();
 }