Commands return immediately and signalr is used to control the UI

This commit is contained in:
Mark McDowall 2013-08-30 20:08:19 -07:00
commit c96ba5efd3
55 changed files with 439 additions and 238 deletions

View file

@ -1,13 +1,14 @@
using System;
using NzbDrone.Common.Messaging.Tracking;
namespace NzbDrone.Common.Messaging.Events
{
public class CommandFailedEvent : IEvent
{
public ICommand Command { get; private set; }
public TrackedCommand Command { get; private set; }
public Exception Exception { get; private set; }
public CommandFailedEvent(ICommand command, Exception exception)
public CommandFailedEvent(TrackedCommand command, Exception exception)
{
Command = command;
Exception = exception;