internal void MergeWith(SyntheticMemberConfiguration member) { Added |= member.Added; DefaultValue = member.DefaultValue ?? DefaultValue; HasDefaultValue = member.HasDefaultValue || HasDefaultValue; SerializeFunction = member.SerializeFunction ?? SerializeFunction; ShouldSerializePredicate = member.ShouldSerializePredicate ?? ShouldSerializePredicate; Ignored = member.Ignored ?? Ignored; Serialize = member.Serialize ?? Serialize; MaxLength = member.MaxLength ?? MaxLength; IsNullable = member.IsNullable ?? IsNullable; Custom = member.Custom ?? Custom; }
public SyntheticMemberConfigurator(SyntheticMemberConfiguration configuration) { Configuration = configuration; }