/// <summary> /// Ask user for Hudson connection information /// </summary> private void AskForConnection() { HudsonConnectionForm hcf = new HudsonConnectionForm(hudson.Connection); if (hcf.ShowDialog() == DialogResult.OK) { Connection = hcf.Connection; } }
public HudsonConnectionForm(HudsonConnection connection) { InitializeComponent(); Connection = connection; }
public HudsonWebClient(HudsonConnection connection) { this.Credential = new NetworkCredential(connection.Username, connection.Password); }
public JsonHudson(HudsonConnection connection) { this.Connection = connection; }
public JsonHudson() { this.Connection = new HudsonConnection(); }