Better names, more info, not using events

This commit is contained in:
Mark McDowall 2013-08-28 21:43:26 -07:00
commit 3c632743a1
6 changed files with 107 additions and 74 deletions

View file

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