mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #656] [MERGED] Support DI and Mocking better + Support launching app with file for win and linux #1243
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/656
Author: @danatcofo
Created: 1/25/2022
Status: ✅ Merged
Merged: 4/6/2022
Merged by: @GregorBiswanger
Base:
master← Head:feature/DI-MOC-Process📝 Commits (10+)
1b14bb0Convert main static references off ofElectroninto interface implementation and expose the underlying Socket for low level interaction.8e1e184#647 process argv for open-file for win and linux1406fc1#647 add initial Process class to ElectronNET.API562cccb#647 add to ElectronNET.API Process member interfaces for argv and typeba82b9a#647 add to ElectronNET.API Process member interfaces for various fields5921481#647 correct to ElectronNET.API Process member for versions field24a2005#647 update XML documentation to ElectronNET.API Process members64e058b#647 make ProcessVersions Entity a record to ensure readonly access to props1767bcdMerge commit '64e058b0b59a4fbbd6c0ec9de2ee1850a66684c4' into feature/DI-MOC-Processb8845bbInclude Process into DI Mocking and interfaces📊 Changes
47 files changed (+2504 additions, -34 deletions)
View changed files
📝
ElectronNET.API/App.cs(+2 -1)➕
ElectronNET.API/ApplicationSocket.cs(+16 -0)📝
ElectronNET.API/AutoUpdater.cs(+2 -1)📝
ElectronNET.API/BridgeConnector.cs(+109 -1)📝
ElectronNET.API/Clipboard.cs(+2 -1)📝
ElectronNET.API/Dialog.cs(+2 -1)📝
ElectronNET.API/Dock.cs(+2 -1)📝
ElectronNET.API/Electron.cs(+5 -0)📝
ElectronNET.API/ElectronNET.API.csproj(+0 -0)➕
ElectronNET.API/Entities/ProcessVersions.cs(+10 -0)📝
ElectronNET.API/GlobalShortcut.cs(+2 -1)📝
ElectronNET.API/HostHook.cs(+2 -1)➕
ElectronNET.API/Interfaces/IApp.cs(+713 -0)➕
ElectronNET.API/Interfaces/IApplicationSocket.cs(+15 -0)➕
ElectronNET.API/Interfaces/IAutoUpdater.cs(+146 -0)➕
ElectronNET.API/Interfaces/IClipboard.cs(+122 -0)➕
ElectronNET.API/Interfaces/IDialog.cs(+102 -0)➕
ElectronNET.API/Interfaces/IDock.cs(+93 -0)➕
ElectronNET.API/Interfaces/IGlobalShortcut.cs(+39 -0)➕
ElectronNET.API/Interfaces/IHostHook.cs(+30 -0)...and 27 more files
📄 Description
This is a combo of #648 & #633 that have conflicts natively with those conflict's addressed
This adds an
IProcessinterface and applies it to the Process class as well as includes it into the IServiceCollection extension method.See the other 2 PR's for details on those.
FYI @GregorBiswanger
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.