Creation of ADO Connection
This commit is contained in:
@ -2,8 +2,9 @@ using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.json.WIQL;
|
||||
|
||||
public class WorkItem
|
||||
internal class WorkItem
|
||||
{
|
||||
|
||||
[JsonConstructor]
|
||||
public WorkItem(
|
||||
int id,
|
||||
@ -14,6 +15,13 @@ public class WorkItem
|
||||
Url = url;
|
||||
}
|
||||
|
||||
public int Id { get; set; } // { init; get; }
|
||||
public string Url { get; set; } // { init; get; }
|
||||
[JsonPropertyName("id")] public int Id { get; }
|
||||
[JsonPropertyName("url")] public string Url { get; }
|
||||
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSerializable(typeof(WorkItem))]
|
||||
internal partial class WIQLWorkItemSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user