예제 #1
0
 internal void ApplyInternal(NoteCreated c)
 {
     Id              = c.AggregateId;
     UserId          = c.UserId;
     RelatedToTicker = c.Ticker;
     Created         = c.When;
     Note            = c.Note;
 }
예제 #2
0
 internal void Apply(NoteCreated c)
 {
     this.Id              = c.AggregateId;
     this.UserId          = c.UserId;
     this.RelatedToTicker = c.Ticker;
     this.Created         = c.When;
     this.Note            = c.Note;
 }
예제 #3
0
 protected void ApplyInternal(NoteCreated created)
 {
     this.State.Apply(created);
 }