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

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