mirror of
https://github.com/cadmium-im/zirconium-sharp.git
synced 2024-11-22 10:22:23 +00:00
Make PreInitialize method optional for implementing by plugins
This commit is contained in:
parent
64596e46d8
commit
370a7e8dc2
@ -5,7 +5,7 @@ namespace Zirconium.Core.Plugins.Interfaces
|
|||||||
public interface IPluginAPI
|
public interface IPluginAPI
|
||||||
{
|
{
|
||||||
void Initialize(IPluginHostAPI hostModuleAPI);
|
void Initialize(IPluginHostAPI hostModuleAPI);
|
||||||
void PreInitialize(IPluginManager pluginManager);
|
void PreInitialize(IPluginManager pluginManager) {}
|
||||||
string GetPluginUniqueName();
|
string GetPluginUniqueName();
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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>
|
|
Loading…
Reference in New Issue
Block a user