private void RegisterTypes(ISchemaContext context, string queryTypeName)
        {
            var typeRegistrar = new TypeRegistrar(
                context.Types.GetTypes());

            typeRegistrar.RegisterTypes(context, queryTypeName);
            _errors.AddRange(typeRegistrar.Errors);
        }
Exemple #2
0
        private void RegisterTypes(ISchemaContext context)
        {
            TypeRegistrar typeRegistrar = new TypeRegistrar(
                context.Types.GetTypes());

            typeRegistrar.RegisterTypes(context);
            _errors.AddRange(typeRegistrar.Errors);
        }