我正在使用Bing的LanguageService(翻译服务).我产生与SvcUtil工具F#的SOAP客户端代码(和修改了它一点点地得到它的工作),但卡住了一些方法是用这个词来在他们的参数.它在F#中保留.
[<System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/Translate", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/TranslateResponse")>]
abstract Translate :appId:string * text:string * from:string * to:string * contentType:string * category:string -> string
Run Code Online (Sandbox Code Playgroud)
我已经尝试过_to和__to而没有运气.
我不知道是否有任何方法可以取消定义关键字或以其他方式定义参数(类似于:SOAPpy - 命名参数列表中的保留字).
提前致谢!
有没有办法告诉ocamlbuild不要进入某些目录?
我的_tags里面有以下内容:
<dir1> or <dir2>: include
Run Code Online (Sandbox Code Playgroud)
但ocamlbuild说有一些.dll dir3(拒绝构建,直到我清理它们),不应该使用该_tags配置进行扫描.无法在手册中获得任何内容.
我在Debian Linux上,对.dll没有错.
谢谢!