You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
716 B
29 lines
716 B
using System;
|
|
using NLog;
|
|
|
|
namespace NzbDrone.Providers
|
|
{
|
|
public class ConsoleProvider
|
|
{
|
|
private static readonly Logger Logger = LogManager.GetLogger("Host.ConsoleProvider");
|
|
|
|
public virtual void WaitForClose()
|
|
{
|
|
while (true)
|
|
{
|
|
Console.ReadLine();
|
|
}
|
|
}
|
|
|
|
public virtual void PrintHelp()
|
|
{
|
|
Logger.Info("Printing Help");
|
|
Console.WriteLine("Help");
|
|
}
|
|
|
|
public virtual void PrintServiceAlreadyExist()
|
|
{
|
|
Console.WriteLine("A service with the same name ({0}) already exists. Aborting installation", ServiceProvider.NzbDroneServiceName);
|
|
}
|
|
}
|
|
} |