Inheritance: ObjectGraphType
        public SchemaWithDuplicates()
        {
            Query = new SomeQuery();

            this.RegisterType <SomeObject>();
            this.RegisterType <SomeObject>();
            this.RegisterType <SomeQuery>();
            this.RegisterType <SomeQuery>();
            this.RegisterType <SomeInterface>();
            this.RegisterType <SomeInterface>();
            this.RegisterType <StringGraphType>();
            this.RegisterType <StringGraphType>();
        }
Exemple #2
0
        public AnInterfaceOnlySchemaWithExtraRegisteredType()
        {
            Query = new SomeQuery();

            RegisterType<SomeObject>();
        }
        public AnInterfaceOnlySchemaWithExtraRegisteredType()
        {
            Query = new SomeQuery();

            RegisterType <SomeObject>();
        }