private void AddRamlReferenceCallback(object sender, EventArgs e) { var generationServices = new RamlReferenceService(ServiceProvider.GlobalProvider); var ramlChooser = new RamlChooser(this, generationServices.AddRamlReference, "Add RAML Reference", false, Settings.Default.RAMLExchangeUrl); ramlChooser.ShowDialog(); }
private void AddRamlContractCallback(object sender, EventArgs e) { var ramlScaffoldUpdater = new RamlScaffoldService(new T4Service(ServiceProvider.GlobalProvider), ServiceProvider.GlobalProvider); var frm = new RamlChooser(ServiceProvider.GlobalProvider, ramlScaffoldUpdater.AddContract, "Add RAML Contract", true, Settings.Default.RAMLExchangeUrl); frm.ShowDialog(); }