-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from TunNetCom/ConventionNaming
Fix naming,namespace,usings
- Loading branch information
Showing
146 changed files
with
272 additions
and
423 deletions.
There are no files selected for viewing
8 changes: 7 additions & 1 deletion
8
src/AzureDevopsService/AzureDevopsService.API/AzureDevopsEndpoints.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/AzureDevopsService/AzureDevopsService.API/Clients/GlocalUsings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
global using TunNetCom.AionTime.AzureDevopsService.API; | ||
|
4 changes: 3 additions & 1 deletion
4
src/AzureDevopsService/AzureDevopsService.API/ExtensionServiceRegistration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/AzureDevopsService/AzureDevopsService.API/GlobalExceptionHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lication/AzureDevopsExternalResourceService/OrganizationProjectService/IProjectService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...pplication/AzureDevopsExternalResourceService/ProfileUserService/IUserProfileApiClient.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
...Application/AzureDevopsExternalResourceService/ProfileUserService/UserProfileApiClient.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sService.Application/AzureDevopsExternalResourceService/ServiceHelper/HttpClientHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...e.Application/AzureDevopsExternalResourceService/ServiceHelper/WorkItem/WorkItemHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
...rvice.Application/AzureDevopsExternalResourceService/WorkItem/IWorkItemExternalService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
using AzureDevopsService.Contracts.AzureResponceModel; | ||
namespace AzureDevopsService.Application.AzureDevopsExternalResourceService.WorkItem; | ||
|
||
namespace TunNetCom.AionTime.AzureDevopsService.Application.AzureDevopsExternalResourceService.WorkItem | ||
public interface IWorkItemExternalService | ||
{ | ||
public interface IWorkItemExternalService | ||
{ | ||
Task<OneOf<WiqlResponses?, WiqlBadRequestResponce?>> GetWorkItemByUser(WorkItemRequest resource); | ||
} | ||
Task<OneOf<WiqlResponses?, WiqlBadRequestResponce?>> GetWorkItemByUser(WorkItemRequest resource); | ||
} |
6 changes: 1 addition & 5 deletions
6
...ervice.Application/AzureDevopsExternalResourceService/WorkItem/WorkItemExternalService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
src/AzureDevopsService/AzureDevopsService.Application/ExtentionRegistrationService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 1 addition & 8 deletions
9
...reDevopsService.Contracts/AzureRequestResourceModel/AllProjectUnderOrganizationRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 1 addition & 8 deletions
9
src/AzureDevopsService/AzureDevopsService.Contracts/AzureRequestResourceModel/BaseRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
...vice/AzureDevopsService.Contracts/AzureRequestResourceModel/GetUserOrganizationRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
using AzureDevopsService.Contracts.AzureRequestResourceModel; | ||
namespace AzureDevopsService.Contracts.AzureRequestResourceModel; | ||
|
||
namespace AzureDevopsService.Contracts.AzureRequestResourceModel | ||
public class GetUserOrganizationRequest : BaseRequest | ||
{ | ||
public class GetUserOrganizationRequest : BaseRequest | ||
{ | ||
public required string MemberId { get; set; } | ||
} | ||
public required string MemberId { get; set; } | ||
} |
5 changes: 0 additions & 5 deletions
5
src/AzureDevopsService/AzureDevopsService.Contracts/AzureRequestResourceModel/WiqlRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
...reDevopsService/AzureDevopsService.Contracts/AzureRequestResourceModel/WorkItemRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/AllProjectResponce.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/Column.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
...psService/AzureDevopsService.Contracts/AzureResponceModel/CustomProblemDetailsResponce.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/Project.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 1 addition & 15 deletions
16
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/UserAccount.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/UserOrganization.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/UserProfile.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 8 additions & 23 deletions
31
...reDevopsService/AzureDevopsService.Contracts/AzureResponceModel/WiqlBadRequestResponce.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,25 @@ | ||
using AzureDevopsService.Contracts.AzureRequestResourceModel; | ||
using AzureDevopsService.Contracts.AzureResponceModel; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Text.Json.Serialization; | ||
using System.Threading.Tasks; | ||
using TunNetCom; | ||
using TunNetCom.AionTime; | ||
using TunNetCom.AionTime.AzureDevopsService; | ||
using TunNetCom.AionTime.AzureDevopsService.Contracts; | ||
using TunNetCom.AionTime.AzureDevopsService.Contracts.AzureRequestResourceModel; | ||
using TunNetCom.AionTime.AzureDevopsService.Contracts.AzureResponceModel; | ||
|
||
namespace AzureDevopsService.Contracts.AzureResponceModel; | ||
namespace AzureDevopsService.Contracts.AzureResponceModel; | ||
|
||
public class WiqlBadRequestResponce : BaseRequest | ||
{ | ||
[JsonPropertyName("$id")] | ||
[JsonProperty("$id")] | ||
public string? Id { get; set; } = string.Empty; | ||
|
||
[JsonPropertyName("innerException")] | ||
[JsonProperty("innerException")] | ||
public string? InnerException { get; set; } = string.Empty; | ||
|
||
[JsonPropertyName("message")] | ||
[JsonProperty("message")] | ||
public string? Message { get; set; } = string.Empty; | ||
|
||
[JsonPropertyName("typeName")] | ||
[JsonProperty("typeName")] | ||
public string? TypeName { get; set; } = string.Empty; | ||
|
||
[JsonPropertyName("typeKey")] | ||
[JsonProperty("typeKey")] | ||
public string? TypeKey { get; set; } = string.Empty; | ||
|
||
[JsonPropertyName("errorCode")] | ||
[JsonProperty("errorCode")] | ||
public int? ErrorCode { get; set; } | ||
|
||
[JsonPropertyName("eventId")] | ||
[JsonProperty("eventId")] | ||
public int? EventId { get; set; } | ||
} |
11 changes: 1 addition & 10 deletions
11
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/WiqlResponses.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/AzureDevopsService/AzureDevopsService.Contracts/AzureResponceModel/WorkItem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/AzureDevopsService/AzureDevopsService.Contracts/Constant/AzureResponseMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.