public ProjectListRetriever(CIServerType ciServerType, string serveruri) { var factory = new CIApiServiceFactory(serveruri); switch(ciServerType) { case CIServerType.Hudson: _ciApiService = factory.BuildHudsonCIApiService(); break; default: _ciApiService = factory.BuildHudsonCIApiService(); break; } }
public ProjectListRetriever(CIServerType ciServerType, string serveruri) { var factory = new CIApiServiceFactory(serveruri); switch (ciServerType) { case CIServerType.Hudson: _ciApiService = factory.BuildHudsonCIApiService(); break; default: _ciApiService = factory.BuildHudsonCIApiService(); break; } }