// I can use... var myObject = new TfsTeamProjectCollection(tfsUri); // or this... var myObject = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(tfsUri); // Then.. var tcmService = myObject.GetService<ITestManagementService>(); var teamProject = tcmService.GetTeamProject(_projectCollectionName);
Can someone please explain the difference between the two classes in reference to establishing a connection to TFS?
Seems like I can use both methods so which is best approach? Maybe I just don't know what factory means.
-7