Ejemplo n.º 1
0
 /// <summary>
 /// Serialize the command and add its state to the repository.
 /// </summary>
 /// todo: this must not happen when the state is already in the repository - we would never update commands on post
 /// also do we then still need to use DataContract to identify the proper members?
 public void Post()
 {
     this.ParametersJson = this.Serialize();
     _repository.AddCommandState(this._state);
 }