using System.Threading.Tasks; namespace NadekoBot.Services { /// /// All services must implement this interface in order to be auto-discovered by the DI system /// public interface INService { } /// /// All services which require cleanup after they are unloaded must implement this interface /// public interface IUnloadableService { Task Unload(); } }