mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-27 09:22:30 +00:00
refactor: Migrated from Newtonsoft.Json to System.Text.Json, missing one test passing
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
namespace ElectronNET.Runtime
|
||||
{
|
||||
using ElectronNET.Runtime.Data;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using ElectronNET.Runtime.Data;
|
||||
|
||||
public interface IElectronNetRuntimeController
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user