using System; using System.Collections.Generic; using System.Linq; using System.Text; using CoderEngine; namespace UseEngineConsolo { class Program { static void Main(string[] args) { Console.WriteLine(); Console.WriteLine(); Console.WriteLine("=========================================="); Console.WriteLine("====== 皓月跨语言实体类转换引擎 ======"); Console.WriteLine("=========================================="); Console.WriteLine(); Console.WriteLine(); string JavaCode = new JavaCodeWrite().ModelToJavaCode("CoderEngine", "A"); Console.WriteLine(); Console.WriteLine("C#实体类动态转Java代码结果:"); Console.WriteLine(); Console.WriteLine(JavaCode); Console.WriteLine(); Console.WriteLine(); string CSCode = new SwiftCodeWrite().ModelToSwiftCode("CoderEngine", "A"); Console.WriteLine(); Console.WriteLine("Swift实体类动态转C#客户端代码结果:"); Console.WriteLine(); Console.WriteLine(CSCode); Console.ReadLine(); } } }