2011-10-07 03:37:41 +00:00
|
|
|
|
using System;
|
2011-10-13 02:24:30 +00:00
|
|
|
|
using NLog;
|
2011-10-07 03:37:41 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Providers
|
|
|
|
|
{
|
|
|
|
|
public class ConsoleProvider
|
|
|
|
|
{
|
2011-10-13 02:24:30 +00:00
|
|
|
|
private static readonly Logger Logger = LogManager.GetLogger("Host.ConsoleProvider");
|
|
|
|
|
|
2011-10-07 03:37:41 +00:00
|
|
|
|
public virtual void WaitForClose()
|
|
|
|
|
{
|
|
|
|
|
while (true)
|
|
|
|
|
{
|
2011-10-13 02:24:30 +00:00
|
|
|
|
Console.ReadLine();
|
2011-10-07 03:37:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2011-10-09 02:16:11 +00:00
|
|
|
|
|
|
|
|
|
public virtual void PrintHelp()
|
|
|
|
|
{
|
2011-10-13 02:24:30 +00:00
|
|
|
|
Logger.Info("Printing Help");
|
|
|
|
|
Console.WriteLine("Help");
|
2011-10-09 02:16:11 +00:00
|
|
|
|
}
|
2011-10-07 03:37:41 +00:00
|
|
|
|
}
|
2011-10-07 06:57:43 +00:00
|
|
|
|
}
|