Skip to content

Commit

Permalink
"namingScheme" argument is ignored when "typeNameSubstitute" argument…
Browse files Browse the repository at this point in the history
… is provided in console
  • Loading branch information
LuisSiam committed Nov 6, 2024
1 parent 0f45608 commit b7b0784
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 b7b0784

Please sign in to comment.