parent
e4d7ea9fd8
commit
a3961ffb69
@ -1,6 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace NzbDrone.Common.Messaging
|
||||
{
|
||||
public interface ICommand : IMessage
|
||||
{
|
||||
String CommandId { get; }
|
||||
}
|
||||
}
|
@ -1,8 +1,16 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.DataAugmentation.Scene
|
||||
{
|
||||
public class UpdateSceneMappingCommand : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
|
||||
public UpdateSceneMappingCommand()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,13 +1,22 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class CleanMediaFileDb : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
public int SeriesId { get; private set; }
|
||||
|
||||
public CleanMediaFileDb()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
|
||||
public CleanMediaFileDb(int seriesId)
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
SeriesId = seriesId;
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,16 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class CleanUpRecycleBinCommand : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
|
||||
public CleanUpRecycleBinCommand()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,11 +1,16 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class DownloadedEpisodesScanCommand : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
|
||||
public DownloadedEpisodesScanCommand()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,13 +1,22 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class RenameSeriesCommand : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
public int SeriesId { get; private set; }
|
||||
|
||||
public RenameSeriesCommand()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
|
||||
public RenameSeriesCommand(int seriesId)
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
SeriesId = seriesId;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue