finally more structure
This commit is contained in:
14
OwnChar.App.Desktop/Api/Parameters/AppInitParams.cs
Normal file
14
OwnChar.App.Desktop/Api/Parameters/AppInitParams.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using OwnChar.Plugins;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OwnChar.App.Desktop.Api.Parameters
|
||||
{
|
||||
public class AppInitParams(IOwnCharApi api) : OwnCharPluginInitParams
|
||||
{
|
||||
public IOwnCharApi Api { get; set; } = api;
|
||||
}
|
||||
}
|
||||
14
OwnChar.App.Desktop/Api/Parameters/MainWindowParams.cs
Normal file
14
OwnChar.App.Desktop/Api/Parameters/MainWindowParams.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Pilz.Plugins.Advanced;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OwnChar.App.Desktop.Api.Parameters
|
||||
{
|
||||
public class MainWindowParams(IMainWindowApi api) : PluginFunctionParameter
|
||||
{
|
||||
public IMainWindowApi Api { get; } = api;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user