示例#1
0
 public Command(string id, MicroServices.CommandType commandType, string fieldName, object data, MicroServices.Area area, string user, string connectionId)
 {
     Id           = id;
     Area         = area;
     CommandType  = commandType;
     FieldName    = fieldName;
     Data         = data;
     User         = user;
     ConnectionId = connectionId;
 }
 public CommandEventMessage(string id, string name, bool isSuccesful, string actorType, MicroServices.CommandType commandType, MicroServices.Area area, string message, object data, string user, string connectionId)
 {
     Id           = id;
     Name         = name;
     Success      = isSuccesful;
     ActorType    = actorType;
     CommandType  = commandType;
     Area         = area;
     Message      = message;
     Data         = data;
     User         = user;
     ConnectionId = connectionId;
 }
 public ClientListCommand(string id, MicroServices.CommandType commandType, string field, object data, string user, string connectionId) : base(id, commandType, field, data, MicroServices.Area.Client, user, connectionId)
 {
 }