Files

28 lines
653 B
C#
Raw Permalink Normal View History

using System.Runtime.Serialization;
2014-10-31 09:05:52 +02:00
using System.Collections;
using System.Collections.Generic;
2014-10-31 09:05:52 +02:00
namespace MTApiService
{
[DataContract]
public class MtCommand
{
[DataMember]
public int CommandType { get; set; }
2014-10-31 09:05:52 +02:00
[DataMember]
public ArrayList Parameters { get; set; }
[DataMember]
public Dictionary<string, object> NamedParams { get; set; }
[DataMember]
public int ExpertHandle { get; set; }
2014-10-31 09:05:52 +02:00
public override string ToString()
{
return $"CommandType = {CommandType}; ExpertHandle = {ExpertHandle}";
}
2014-10-31 09:05:52 +02:00
}
}