Improved handling of moonlight plugins during startup, minimized host project code and moved startup handling to core
This commit is contained in:
10
Moonlight.Frontend/MoonlightPlugin.cs
Normal file
10
Moonlight.Frontend/MoonlightPlugin.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using SimplePlugin.Abstractions;
|
||||
|
||||
namespace Moonlight.Frontend;
|
||||
|
||||
public abstract class MoonlightPlugin : IPluginModule
|
||||
{
|
||||
public virtual void PreBuild(WebAssemblyHostBuilder builder){}
|
||||
public virtual void PostBuild(WebAssemblyHost application){}
|
||||
}
|
||||
Reference in New Issue
Block a user