refactor: Migrated from Newtonsoft.Json to System.Text.Json, missing one test passing

This commit is contained in:
Denny09310
2025-11-09 12:05:07 +01:00
parent fc69598b09
commit 71ced8db56
80 changed files with 720 additions and 878 deletions

View File

@@ -1,10 +1,10 @@
namespace ElectronNET.Runtime.Controllers
{
using System.Threading.Tasks;
using ElectronNET.API;
using ElectronNET.Runtime.Services;
using ElectronNET.Runtime.Services.ElectronProcess;
using ElectronNET.Runtime.Services.SocketBridge;
using System.Threading.Tasks;
internal abstract class RuntimeControllerBase : LifetimeServiceBase, IElectronNetRuntimeController
{

View File

@@ -1,13 +1,13 @@
namespace ElectronNET.Runtime.Controllers
{
using System;
using System.Threading.Tasks;
using ElectronNET.API;
using ElectronNET.Common;
using ElectronNET.Runtime.Data;
using ElectronNET.Runtime.Helpers;
using ElectronNET.Runtime.Services.ElectronProcess;
using ElectronNET.Runtime.Services.SocketBridge;
using System;
using System.Threading.Tasks;
internal class RuntimeControllerDotNetFirst : RuntimeControllerBase
{

View File

@@ -1,11 +1,11 @@
namespace ElectronNET.Runtime.Controllers
{
using System;
using System.Threading.Tasks;
using ElectronNET.API;
using ElectronNET.Runtime.Data;
using ElectronNET.Runtime.Services.ElectronProcess;
using ElectronNET.Runtime.Services.SocketBridge;
using System;
using System.Threading.Tasks;
internal class RuntimeControllerElectronFirst : RuntimeControllerBase
{

View File

@@ -1,8 +1,8 @@
namespace ElectronNET.Runtime
{
using ElectronNET.Runtime.Data;
using System;
using System.Threading.Tasks;
using ElectronNET.Runtime.Data;
public interface IElectronNetRuntimeController
{

View File

@@ -1,11 +1,11 @@
namespace ElectronNET.Runtime.Services.ElectronProcess
{
using ElectronNET.Common;
using ElectronNET.Runtime.Data;
using System;
using System.ComponentModel;
using System.IO;
using System.Threading.Tasks;
using ElectronNET.Common;
using ElectronNET.Runtime.Data;
/// <summary>
/// Launches and manages the Electron app process.

View File

@@ -1,10 +1,10 @@
namespace ElectronNET.Runtime.Services.ElectronProcess
{
using ElectronNET.Runtime.Data;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading.Tasks;
using ElectronNET.Runtime.Data;
/// <summary>
/// Launches and manages the Electron app process.

View File

@@ -1,9 +1,9 @@
namespace ElectronNET.Runtime.Services
{
using ElectronNET.Runtime.Data;
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using ElectronNET.Runtime.Data;
public abstract class LifetimeServiceBase
{

View File

@@ -1,9 +1,9 @@
namespace ElectronNET.Runtime.Services.SocketBridge
{
using System;
using System.Threading.Tasks;
using ElectronNET.API;
using ElectronNET.Runtime.Data;
using System;
using System.Threading.Tasks;
internal class SocketBridgeService : LifetimeServiceBase
{

View File

@@ -1,13 +1,13 @@
namespace ElectronNET.Runtime
{
using ElectronNET.Runtime.Controllers;
using ElectronNET.Runtime.Data;
using ElectronNET.Runtime.Helpers;
using System;
using System.Collections.Immutable;
using System.Globalization;
using System.Linq;
using System.Reflection;
using ElectronNET.Runtime.Controllers;
using ElectronNET.Runtime.Data;
using ElectronNET.Runtime.Helpers;
internal class StartupManager
{