Beispiel #1
0
 internal void ApplyInternal(OptionOpened opened)
 {
     Id          = opened.AggregateId;
     Ticker      = opened.Ticker;
     StrikePrice = opened.StrikePrice;
     Expiration  = opened.Expiration;
     OptionType  = opened.OptionType;
     UserId      = opened.UserId;
 }
Beispiel #2
0
 internal void Apply(OptionOpened opened)
 {
     this.Id          = opened.AggregateId;
     this.Ticker      = opened.Ticker;
     this.StrikePrice = opened.StrikePrice;
     this.Expiration  = opened.Expiration;
     this.OptionType  = opened.OptionType;
     this.UserId      = opened.UserId;
 }
Beispiel #3
0
 protected void ApplyInternal(OptionOpened opened)
 {
     this.State.Apply(opened);
 }