24 lines
496 B
C#
24 lines
496 B
C#
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");
|
|
}
|
|
}
|
|
} |