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