public static void CreateFiles(string outputDirectory, string subdirectory, bool forceOverwrite, params CSharpEnumDefinition[] definitions) { foreach (var definition in definitions) { var codeBuilder = new CSharpEnumBuilder { OutputDirectory = outputDirectory, ForceOverwrite = forceOverwrite, ObjectDefinition = definition }; codeBuilder.CreateFile(subdirectory); } }
public static void AddAttributes(this CSharpEnumBuilder interfaceBuilder, StringBuilder output, int start) { AddAttributes(interfaceBuilder, interfaceBuilder.ObjectDefinition.Attributes, output, start); }