Пример #1
0
        public string GetShelvesetUrl(ShelvesetData data, TfsInfo tfsInfo)
        {
            _ = data ?? throw new ArgumentNullException(nameof(data));

            var teamProjectName = tfsInfo?.TeamProjectName;

            return
                ($"{Settings.Default.TfsUri}{(teamProjectName == null ? null : teamProjectName + "/")}_versionControl/shelveset?ss={GetShelvesetQualifiedName(data.User, data.Name)}");
        }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HtmlTemplate"/> class.
 /// </summary>
 /// <param name="shelvesetData">
 /// The object containing all the data for the template.
 /// </param>
 public HtmlTemplate(ShelvesetData shelvesetData)
 {
     this.shelvesetData = shelvesetData;
 }