internal void ApplyInternal(OptionOpened opened) { Id = opened.AggregateId; Ticker = opened.Ticker; StrikePrice = opened.StrikePrice; Expiration = opened.Expiration; OptionType = opened.OptionType; UserId = opened.UserId; }
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; }
protected void ApplyInternal(OptionOpened opened) { this.State.Apply(opened); }