/// <inheritdoc /> public override void VisitValueList(object owner, ListValueReflection reflection) { if (Loader.OnValueList(reflection, out IList list)) { CopyList(list, reflection.GetMember(owner) as IList, reflection.ValueType); } }
/// <inheritdoc /> public override void VisitValueList(object owner, ListValueReflection reflection) { if (!(reflection.GetMember(owner) is IList member)) { return; } for (int i = 0; i < member.Count; i++) { if (Saver.OnListValue(i, member[i], reflection, out object newValue)) { member[i] = newValue; } } }