mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Type and Command have private setters
This commit is contained in:
@@ -4,14 +4,10 @@ namespace NzbDrone.Common.Messaging.Manager
|
|||||||
{
|
{
|
||||||
public class CommandManagerItem
|
public class CommandManagerItem
|
||||||
{
|
{
|
||||||
public String Type { get; set; }
|
public String Type { get; private set; }
|
||||||
public ICommand Command { get; set; }
|
public ICommand Command { get; private set; }
|
||||||
public CommandState State { get; set; }
|
public CommandState State { get; set; }
|
||||||
|
|
||||||
public CommandManagerItem()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public CommandManagerItem(ICommand command, CommandState state)
|
public CommandManagerItem(ICommand command, CommandState state)
|
||||||
{
|
{
|
||||||
Type = command.GetType().FullName;
|
Type = command.GetType().FullName;
|
||||||
|
|||||||
Reference in New Issue
Block a user