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