public void RemoveSuccessCommand(IQueuedCommand command) { throw new NotImplementedException(); }
public void AddErrorCommand(IQueuedCommand command) { throw new NotImplementedException(); }
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)); }
public QueueEntity(IQueuedCommand command, IMvxJsonConverter jsonConverter) { this.CommandTypeName = command.GetType().FullName; this.SerializedObject = jsonConverter.SerializeObject(command); }