/// <summary> /// Create a new instance. /// </summary> /// <param name="connectionStringService">IConnectionString</param> public Connection(IConnectionString connectionStringService) { this.connectionStringService = connectionStringService; InitializeComponent(); csDict = connectionStringService.GetConnectionStrings(); foreach (var kvp in csDict) { lstConnection.Items.Add(new CsListItem(kvp.Key, kvp.Value)); } btnNext.Enabled = false; }
public IEnumerable <ConnectionString> Get() { return(connectionStringRepository.GetConnectionStrings()); }