public StudyGlobalRepository(IServiceLocatorSelector serviceLocatorSelector) { this.serviceLocatorSelector = serviceLocatorSelector; }
public WorkItemProvider(IServiceLocatorSelector locatorSelector) { var collectionUri = locatorSelector.GetByName("TfsServiceLocator").Location; collection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(collectionUri); }