mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-02-22 14:03:34 +00:00
18 lines
380 B
C#
18 lines
380 B
C#
using Core;
|
|
|
|
namespace BittorrentPlugin
|
|
{
|
|
public static class CoreInterfaceExtensions
|
|
{
|
|
public static IBittorrentNode StartNode(this CoreInterface ci)
|
|
{
|
|
return Plugin(ci).StartNode();
|
|
}
|
|
|
|
private static BittorrentPlugin Plugin(CoreInterface ci)
|
|
{
|
|
return ci.GetPlugin<BittorrentPlugin>();
|
|
}
|
|
}
|
|
}
|