public string GetWorkspaceName(TfsTeamProjectCollection projColl) { var str = $"{Guid.NewGuid()}_{projColl.GetProjectCollectionName()}"; $"workspaceName: {str}".Trace(); return(str); }
public static string GetWorkspaceName(this TfsTeamProjectCollection projColl) { projColl.NullCheck(); $"{nameof(GetWorkspaceName)}: {nameof(projColl)} = {projColl.Name}".Trace(); return($"{Globals.WorkspacePrefix}_{projColl.GetProjectCollectionName()}_{Environment.MachineName}"); }