From b7b0784e17944aac2f3d9b401047efd5061be16f Mon Sep 17 00:00:00 2001 From: Luis Sagasta Buil Date: Wed, 6 Nov 2024 12:29:46 +0100 Subject: [PATCH] "namingScheme" argument is ignored when "typeNameSubstitute" argument is provided in console --- XmlSchemaClassGenerator.Console/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XmlSchemaClassGenerator.Console/Program.cs b/XmlSchemaClassGenerator.Console/Program.cs index d098f73..a20584e 100644 --- a/XmlSchemaClassGenerator.Console/Program.cs +++ b/XmlSchemaClassGenerator.Console/Program.cs @@ -279,7 +279,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l if (nameSubstituteMap.Any()) { - generator.NamingProvider = new SubstituteNamingProvider(nameSubstituteMap); + generator.NamingProvider = new SubstituteNamingProvider(generator.NamingScheme, nameSubstituteMap); } generator.CommentLanguages.UnionWith(commentLanguages);