Skip to content

Commit 4543969

Browse files
committed
add comment and remove obsolete use a gitsettings
1 parent a1ac6e5 commit 4543969

File tree

4 files changed

+30
-4
lines changed

4 files changed

+30
-4
lines changed

AzureDevOpsTeamMembersVelocity/Pages/Git.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@
8989
// to allow better transition to te new mechanisme. User will keep there
9090
// previous setting and after the first use there settings file are going
9191
// to use the collection of repostiory intead of the single repository.
92-
if (GitSettings.Repository != null && GitSettings.SelectedRepositories == null)
92+
@* if (GitSettings.Repository != null && GitSettings.SelectedRepositories == null)
9393
{
9494
SelectedRepositories.Add(GitSettings.Repository);
95-
}
95+
} *@
9696

9797
EditContext = new EditContext(GitSettings);
9898

AzureDevOpsTeamMembersVelocity/Pages/Logout.cshtml.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@
99

1010
namespace AzureDevOpsTeamMembersVelocity.Pages
1111
{
12+
/// <summary>
13+
/// Logout page
14+
/// </summary>
1215
public class LogoutModel : PageModel
1316
{
17+
/// <summary>
18+
/// Logout
19+
/// </summary>
1420
public async Task<IActionResult> OnPostAsync()
1521
{
1622
await HttpContext
Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,33 @@
11
namespace AzureDevOpsTeamMembersVelocity.Services
22
{
3+
/// <summary>
4+
/// This class is use to keep the Xsrf token
35
public class TokenProvider
46
{
7+
/// <summary>
8+
/// The Xsrf token
9+
/// </summary>
510
public string? XsrfToken { get; set; }
6-
public string? Cookie { get; set; }
711

12+
/// <summary>
13+
/// The cookie name
14+
/// </summary>
15+
public string? Cookie { get; set; }
816
}
917

18+
/// <summary>
19+
/// This class is use to keep the Xsrf token
20+
/// </summary>
1021
public class InitialApplicationState
1122
{
23+
/// <summary>
24+
/// The Xsrf token
25+
/// </summary>
1226
public string? XsrfToken { get; set; }
13-
public string? Cookie { get; set; }
1427

28+
/// <summary>
29+
/// The cookie name
30+
/// </summary>
31+
public string? Cookie { get; set; }
1532
}
1633
}

AzureDevOpsTeamMembersVelocity/Services/ReleasesService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public ReleasesService(IDevOpsProxy proxy)
3535
$"https://vsrm.dev.azure.com/{organization}/{teamProject}/_apis/release/releases?api-version=6.0");
3636
}
3737

38+
/// <summary>
39+
/// Get a list of releases definition for a team project.
40+
/// </summary>
3841
public Task<(ListResponse<Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition>?, string?)> ListDefinition(string organization, string teamProject)
3942
{
4043
return _proxy.GetAsync<ListResponse<Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.ReleaseDefinition>>(

0 commit comments

Comments
 (0)