mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 04:16:53 +00:00
ref[csharp]: refactor generate csharp protocol
This commit is contained in:
1 parent
e935f864b1
commit
7fedbe547e
5 files changed
+17
-8
No files matched your search
@@ -13,10 +13,19 @@ public interface ICodeGenerate {
|
||||
|
||||
void init(GenerateOperation generateOperation);
|
||||
|
||||
/**
|
||||
* 将一个包下的协议文件生成在一个协议文件里
|
||||
*/
|
||||
void mergerProtocol(List<IProtocolRegistration> registrations) throws IOException;
|
||||
|
||||
/**
|
||||
* 折叠协议,生成协议文件会和Java源文件保持相同的目录结构
|
||||
*/
|
||||
void foldProtocol(List<IProtocolRegistration> registrations) throws IOException;
|
||||
|
||||
/**
|
||||
* 默认把所有的协议文件放在同一个更目录下,不做任何操作
|
||||
*/
|
||||
void defaultProtocol(List<IProtocolRegistration> registrations) throws IOException;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user