18 lines
380 B
C#
Raw Normal View History

2024-09-17 10:46:38 +02:00
using Core;
namespace BittorrentPlugin
{
public static class CoreInterfaceExtensions
{
2024-09-17 13:44:06 +02:00
public static IBittorrentNode StartNode(this CoreInterface ci)
2024-09-17 10:46:38 +02:00
{
2024-09-17 13:44:06 +02:00
return Plugin(ci).StartNode();
2024-09-17 10:46:38 +02:00
}
private static BittorrentPlugin Plugin(CoreInterface ci)
{
return ci.GetPlugin<BittorrentPlugin>();
}
}
}