protected string Compile(TLSchema schema) { SetBuiltInTypeNames(schema); FixVoidReturns(schema); var template = new SharpTLDefaultTemplate(new TemplateVars { Schema = schema, Namespace = _defaultNamespace }); return(template.TransformText()); }
public string Compile(CompilationParams compilationParams) { var template = new SharpTLDefaultTemplate(new TemplateVars { Schema = this, Namespace = compilationParams.Namespace, MethodsInterfaceName = compilationParams.MethodsInterfaceName }); return(template.TransformText()); }
public string Compile(CompilationParams compilationParams) { var template = new SharpTLDefaultTemplate(new TemplateVars { Schema = this, Namespace = compilationParams.Namespace, MethodsInterfaceName = compilationParams.MethodsInterfaceName }); return template.TransformText(); }