private void ApplyChange(Event @event, bool isNew) { this.AsDynamic().Apply(@event); if (isNew) { this._changes.Add(@event); } }
protected void ApplyChange(Event @event) { this.ApplyChange(@event, true); }
public EventDescriptor(Guid id, Event eventData, int version) { this.EventData = eventData; this.Version = version; this.Id = id; }