示例#1
0
 public ClientGenerator(ProtoFile proto, TsOutputOption modelsOptions, TsOutputOption option)
     : base(proto, option)
 {
     option.Filename ??= "services";
     _modelsOptions = modelsOptions;
 }
示例#2
0
 public TypeGenerator(ProtoFile proto, TsOutputOption option)
     : base(proto, option)
 {
     option.Filename ??= "models";
 }
 public BaseSingleFileGenerator(ProtoFile proto, TsOutputOption option)
 {
     _proto  = proto;
     _option = option;
 }