public void AddSuccessCommand(IQueuedCommand command)
 {
     var typeName = command.GetType().ToString();
     _onSuccessCommands.Add(new KeyValuePair<string, object>(typeName, command));
 }
Пример #2
0
 public QueueEntity(IQueuedCommand command, IMvxJsonConverter jsonConverter)
 {
     this.CommandTypeName = command.GetType().FullName;
     this.SerializedObject = jsonConverter.SerializeObject(command);
 }