Esempio n. 1
0
 public void RemoveSuccessCommand(IQueuedCommand command)
 {
     throw new NotImplementedException();
 }
Esempio n. 2
0
 public void AddErrorCommand(IQueuedCommand command)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public void Push(IQueuedCommand command)
 {
     var queueEntity = new QueueEntity(command, _jsonConverter);
     _connection.Insert(queueEntity);
 }
 public void RemoveErrorCommand(IQueuedCommand command)
 {
     throw new System.NotImplementedException();
 }
 public void AddSuccessCommand(IQueuedCommand command)
 {
     var typeName = command.GetType().ToString();
     _onSuccessCommands.Add(new KeyValuePair<string, object>(typeName, command));
 }
Esempio n. 6
0
 public QueueEntity(IQueuedCommand command, IMvxJsonConverter jsonConverter)
 {
     this.CommandTypeName = command.GetType().FullName;
     this.SerializedObject = jsonConverter.SerializeObject(command);
 }