1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-07 23:33:52 +00:00
Radarr/NzbDrone.Common/Messaging/Manager/CommandManagerItem.cs

30 lines
617 B
C#
Raw Normal View History

using System;
namespace NzbDrone.Common.Messaging.Manager
{
public class CommandManagerItem
{
public String Type { get; set; }
public ICommand Command { get; set; }
public CommandState State { get; set; }
public CommandManagerItem()
{
}
public CommandManagerItem(ICommand command, CommandState state)
{
Type = command.GetType().FullName;
Command = command;
State = state;
}
}
public enum CommandState
{
Running = 0,
Completed = 1,
Failed = 2
}
}