mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Added CommandId to commands
This commit is contained in:
parent
e4d7ea9fd8
commit
a3961ffb69
27 changed files with 218 additions and 46 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue