public void GenerateIndex(System.Collections.ObjectModel.Collection<System.Web.Http.Description.ApiDescription> apis) { JsClientTemplate jsClientTemplate = new JsClientTemplate { Apis = apis }; string jsClient = jsClientTemplate.TransformText(); WriteFile("client.js", jsClient); }
public void GenerateIndex(System.Collections.ObjectModel.Collection <System.Web.Http.Description.ApiDescription> apis, CommandLineOptions options) { var jsClientTemplate = new JsClientTemplate { Apis = apis }; var jsClient = jsClientTemplate.TransformText(); WriteFile(Path.Combine(OutputPath, "client.js"), jsClient); }
public void GenerateIndex(System.Collections.ObjectModel.Collection <System.Web.Http.Description.ApiDescription> apis) { JsClientTemplate jsClientTemplate = new JsClientTemplate { Apis = apis }; string jsClient = jsClientTemplate.TransformText(); WriteFile("client.js", jsClient); }