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
|
|
|
|
|
2018-10-19 00:36:32 +08:00
|
|
|
|
//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("C#实体类动态转Ajax客户端代码结果:");
|
|
|
|
|
//Console.WriteLine();
|
|
|
|
|
//Console.WriteLine(CSCode);
|
|
|
|
|
//Console.ReadLine();
|
|
|
|
|
string AjaxCode = new AjaxCodeWrite().ModelToAjaxCode("CoderEngine", "A");
|
|
|
|
|
Console.WriteLine();
|
|
|
|
|
Console.WriteLine("C#实体类动态转Ajax客户端代码结果:");
|
|
|
|
|
Console.WriteLine();
|
|
|
|
|
Console.WriteLine(AjaxCode);
|
2018-10-17 22:54:58 +08:00
|
|
|
|
Console.ReadLine();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|