Добавил классы для работы плагинов в проект с формами

This commit is contained in:
Никита Потапов 2024-12-15 00:45:51 +04:00
parent 354d5f180d
commit b8f938b6e6
3 changed files with 58 additions and 0 deletions

View File

@ -22,6 +22,7 @@
<ProjectReference Include="..\InternetShopContracts\InternetShopContracts.csproj" />
<ProjectReference Include="..\InternetShopDatabase\InternetShopDatabase.csproj" />
<ProjectReference Include="..\InternetShopLogics\InternetShopLogics.csproj" />
<ProjectReference Include="..\PluginConventions\PluginConventions.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,48 @@
using PluginConventions;
namespace InternetShopForms.Plugins
{
public class PluginsConvention : IPluginsConvention
{
public string PluginName => throw new NotImplementedException();
public UserControl GetControl => throw new NotImplementedException();
public PluginsConventionElement GetElement => throw new NotImplementedException();
public bool CreateChartDocument(PluginsConventionSaveDocument saveDocument)
{
throw new NotImplementedException();
}
public bool CreateSimpleDocument(PluginsConventionSaveDocument saveDocument)
{
throw new NotImplementedException();
}
public bool CreateTableDocument(PluginsConventionSaveDocument saveDocument)
{
throw new NotImplementedException();
}
public bool DeleteElement(PluginsConventionElement element)
{
throw new NotImplementedException();
}
public Form GetForm(PluginsConventionElement element)
{
throw new NotImplementedException();
}
public Form GetThesaurus()
{
throw new NotImplementedException();
}
public void ReloadData()
{
throw new NotImplementedException();
}
}
}

View File

@ -0,0 +1,9 @@
using PluginConventions;
namespace InternetShopForms.Plugins
{
public class PluginsConventionProvider : PluginsConventionElement
{
}
}