ServParam2ClientModelEngine/UseEngineConsolo/Program.cs

40 lines
1.2 KiB
C#
Raw Normal View History

2018-10-17 22:54:58 +08:00
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();
2018-10-18 17:59:03 +08:00
string JavaCode = new JavaCodeWrite().ModelToJavaCode("CoderEngine", "A");
2018-10-17 22:54:58 +08:00
Console.WriteLine();
Console.WriteLine("C#实体类动态转Java代码结果");
Console.WriteLine();
Console.WriteLine(JavaCode);
2018-10-18 07:00:43 +08:00
Console.WriteLine();
Console.WriteLine();
2018-10-18 17:59:03 +08:00
string CSCode = new SwiftCodeWrite().ModelToSwiftCode("CoderEngine", "A");
2018-10-18 07:00:43 +08:00
Console.WriteLine();
2018-10-18 17:59:03 +08:00
Console.WriteLine("Swift实体类动态转C#客户端代码结果:");
2018-10-18 07:00:43 +08:00
Console.WriteLine();
Console.WriteLine(CSCode);
2018-10-17 22:54:58 +08:00
Console.ReadLine();
}
}
}