public override void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     base.GetObjectData(info, context);
     info.AddOrDefault(nameof(this.AggregateRootId), this.AggregateRootId, x => x?.ToString());
 }
 public override void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     base.GetObjectData(info, context);
     info.AddOrDefault(nameof(this.PropertyName), this.PropertyName, _ => null);
 }
 public override void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     base.GetObjectData(info, context);
     info.AddOrDefault(nameof(this.DomainEvent), this.DomainEvent, x => x?.ToString());
 }
 public override void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     base.GetObjectData(info, context);
     info.AddOrDefault(nameof(this.AggregateRootType), this.AggregateRootType, _ => null);
     info.AddOrDefault(nameof(this.AggregateRootIdType), this.AggregateRootIdType, _ => null);
 }