Added CommandId to commands

This commit is contained in:
Mark McDowall 2013-08-27 17:51:54 -07:00
commit a3961ffb69
27 changed files with 218 additions and 46 deletions

View file

@ -76,17 +76,23 @@ namespace NzbDrone.Common.Test.EventingTests
public class CommandA : ICommand
{
public String CommandId { get; set; }
// ReSharper disable UnusedParameter.Local
public CommandA(int id = 0)
// ReSharper restore UnusedParameter.Local
{
CommandId = HashUtil.GenerateCommandId();
}
}
public class CommandB : ICommand
{
public String CommandId { get; set; }
public CommandB()
{
CommandId = HashUtil.GenerateCommandId();
}
}
}