using Adaptation.Shared; using Adaptation.Shared.Duplicator; using Adaptation.Shared.Methods; using Microsoft.TeamFoundation.WorkItemTracking.WebApi; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Net.Http; using System.Text.Json; namespace Adaptation.FileHandlers.json; public class ProcessData : IProcessData { private readonly List _Details; List Shared.Properties.IProcessData.Details => _Details; public ProcessData(IFileRead fileRead, Logistics logistics, List fileInfoCollection, HttpClient httpClient, string basePage, string api, string query, WorkItemTrackingHttpClient workItemTrackingHttpClient, string project, ReadOnlyDictionary assignedToNameToEncodedPAT, ReadOnlyDictionary assignedToNameToUser, ReadOnlyDictionary requestorNameToUser, string json, bool forceUpdatedBy, bool forceDeleteUpdatedBy) { fileInfoCollection.Clear(); _Details = new List(); Parse(); } string IProcessData.GetCurrentReactor(IFileRead fileRead, Logistics logistics, Dictionary reactors) => throw new Exception(string.Concat("See ", nameof(Parse))); Tuple> IProcessData.GetResults(IFileRead fileRead, Logistics logistics, List fileInfoCollection) => new(logistics.Logistics1[0], Array.Empty(), Array.Empty(), fileInfoCollection); internal static List GetDescriptions(JsonElement[] jsonElements) => throw new NotImplementedException(); private void Parse() => throw new NotImplementedException(); }