Skip to content

Commit

Permalink
Merge pull request #533 from luissagasta/master
Browse files Browse the repository at this point in the history
Fix "namingScheme" argument is ignored when "typeNameSubstitute" argument is provided in console
  • Loading branch information
mganss authored Nov 6, 2024
2 parents 0f45608 + b7b0784 commit 1ae624e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XmlSchemaClassGenerator.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1ae624e

Please sign in to comment.