Example #1
0
 public void AmendContent(string content)
 {
     if (string.IsNullOrWhiteSpace(content))
         throw new ArgumentNullException("content");
     
     var questionAmended = new QuestionAmended(Id, content);
     Apply(questionAmended);
     Append(questionAmended);
 }
Example #2
0
 private void Apply(QuestionAmended questionAmended)
 {
     Content = questionAmended.Content;
 }