mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
23 lines
552 B
C#
23 lines
552 B
C#
using System;
|
|
|
|
namespace NzbDrone.Core.Messaging.Commands
|
|
{
|
|
public abstract class Command
|
|
{
|
|
public virtual bool SendUpdatesToClient => false;
|
|
|
|
public virtual bool UpdateScheduledTask => true;
|
|
|
|
public virtual string CompletionMessage => "Completed";
|
|
|
|
public string Name { get; private set; }
|
|
public DateTime? LastExecutionTime { get; set; }
|
|
public CommandTrigger Trigger { get; set; }
|
|
|
|
public Command()
|
|
{
|
|
Name = GetType().Name.Replace("Command", "");
|
|
}
|
|
}
|
|
}
|