Class CommandParameters
Inheritance
System.Object
CommandParameters
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0Syntax
public class CommandParameters
Constructors
CommandParameters()
Declaration
public CommandParameters()
CommandParameters(String)
Declaration
public CommandParameters(string commandName)
Parameters
Type | Name | Description |
---|---|---|
System.String | commandName |
CommandParameters(String, Dictionary<String, String>)
Declaration
public CommandParameters(string commandName, Dictionary<string, string> commandArguments)
Parameters
Type | Name | Description |
---|---|---|
System.String | commandName | |
System.Collections.Generic.Dictionary<System.String, System.String> | commandArguments |
Fields
CommandParamsKeyName
Declaration
public const string CommandParamsKeyName = "_commandParamsKey"
Field Value
Type | Description |
---|---|
System.String |
Properties
CommandArguments
Gets or sets the command arguments.
Declaration
public Dictionary<string, string> CommandArguments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | The command aguments. |
CommandName
Gets or sets the name of the command.
Declaration
public string CommandName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the command. |
Methods
GetCommandParameters(String)
Declaration
public static CommandParameters GetCommandParameters(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json |
Returns
Type | Description |
---|---|
CommandParameters |
JsonDeserialize(String)
Declaration
public static CommandParameters JsonDeserialize(string input)
Parameters
Type | Name | Description |
---|---|---|
System.String | input |
Returns
Type | Description |
---|---|
CommandParameters |
JsonSerialize<T>(T, JavaScriptConverter[])
Declaration
public static string JsonSerialize<T>(T obj, params JavaScriptConverter[] converters)
Parameters
Type | Name | Description |
---|---|---|
T | obj | |
System.Web.Script.Serialization.JavaScriptConverter[] | converters |
Returns
Type | Description |
---|---|
System.String |
Type Parameters
Name | Description |
---|---|
T |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()