private static void WriteNamespace(Namespace @namespace, string prefix, string fileName) { @namespace.Name = $"{_baseNamespace}.{prefix}"; var code = ClassFactory.CreateCode(@namespace); WriteCode(Path.Join(prefix, fileName), code); }