Example #1
0
        public string GetWorkspaceName(TfsTeamProjectCollection projColl)
        {
            var str = $"{Guid.NewGuid()}_{projColl.GetProjectCollectionName()}";

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