17 lines
361 B
C#
17 lines
361 B
C#
using Luban.Job.Common.Defs;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Luban.Job.Common.Generate
|
|
{
|
|
public interface ICodeRender<T> where T : DefTypeBase
|
|
{
|
|
string RenderAny(DefTypeBase o);
|
|
|
|
string Render(DefConst c);
|
|
|
|
string Render(DefEnum c);
|
|
|
|
string RenderService(string name, string module, List<T> tables);
|
|
}
|
|
}
|