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.
Lidarr/src/NzbDrone.Core/Messaging/Commands/Command.cs

33 lines
665 B

using System;
namespace NzbDrone.Core.Messaging.Commands
{
public abstract class Command
{
public virtual Boolean SendUpdatesToClient
{
get
{
return false;
}
}
public virtual string CompletionMessage
{
get
{
return "Completed";
}
}
public String Name { get; private set; }
public DateTime? LastExecutionTime { get; set; }
public CommandTrigger Trigger { get; set; }
public Command()
{
Name = GetType().Name.Replace("Command", "");
}
}
}