mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Added CommandId to commands
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
using NzbDrone.Common.Messaging;
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.Tv.Commands
|
||||
{
|
||||
public class RefreshSeriesCommand : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
public int? SeriesId { get; private set; }
|
||||
|
||||
public RefreshSeriesCommand()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
|
||||
public RefreshSeriesCommand(int? seriesId)
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
|
||||
SeriesId = seriesId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user