private Dictionary <string, string> GetConnectionStringSegments(string connectionName) { string connectionString = _connectionStringProvider.GetOptional(connectionName); if (connectionString == null) { return(null); } return(_connectionStringParser.Parse(connectionString)); }