Merge pull request #7380 from crobibero/general-command
This commit is contained in:
commit
2dbb32976c
|
@ -2,14 +2,21 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Model.Session;
|
||||||
|
|
||||||
namespace MediaBrowser.Model.Session
|
|
||||||
{
|
|
||||||
public class GeneralCommand
|
public class GeneralCommand
|
||||||
{
|
{
|
||||||
public GeneralCommand()
|
public GeneralCommand()
|
||||||
|
: this(new Dictionary<string, string>())
|
||||||
{
|
{
|
||||||
Arguments = new Dictionary<string, string>();
|
}
|
||||||
|
|
||||||
|
[JsonConstructor]
|
||||||
|
public GeneralCommand(Dictionary<string, string> arguments)
|
||||||
|
{
|
||||||
|
Arguments = arguments;
|
||||||
}
|
}
|
||||||
|
|
||||||
public GeneralCommandType Name { get; set; }
|
public GeneralCommandType Name { get; set; }
|
||||||
|
@ -18,4 +25,3 @@ namespace MediaBrowser.Model.Session
|
||||||
|
|
||||||
public Dictionary<string, string> Arguments { get; }
|
public Dictionary<string, string> Arguments { get; }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user