Skip to content

Type Name Generators

Rico Suter edited this page Jun 30, 2017 · 13 revisions

You can provide an implementation of ITypeNameGenerator via the CodeGeneratorSettingsBase.TypeNameGenerator setting to customize the class or interface name generation.

Usage:

public class MyTypeNameGenerator : ITypeNameGenerator
{
    ...
}

settings.TypeNameGenerator = new MyTypeNameGenerator();
Clone this wiki locally