Make PreInitialize method optional for implementing by plugins

This commit is contained in:
ChronosX88 2020-10-07 22:18:43 +04:00
parent 64596e46d8
commit 370a7e8dc2
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A
2 changed files with 1 additions and 17 deletions

View File

@ -5,7 +5,7 @@ namespace Zirconium.Core.Plugins.Interfaces
public interface IPluginAPI
{
void Initialize(IPluginHostAPI hostModuleAPI);
void PreInitialize(IPluginManager pluginManager);
void PreInitialize(IPluginManager pluginManager) {}
string GetPluginUniqueName();
}
}

View File

@ -1,16 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../Zirconium/Zirconium.csproj">
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
<PackageReference Include="MongoDB.Bson" Version="2.10.4" />
<PackageReference Include="MongoDB.Driver" Version="2.10.4" />
<PackageReference Include="MongoDB.Driver.Core" Version="2.10.4" />
</ItemGroup>
</Project>