NadekoBot/NadekoBot.Core/Services/INService.cs
2017-10-13 06:14:54 +02:00

21 lines
470 B
C#

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