public void VisitCollectionProperty <TSrcElementProperty, TSrcElementValue>( TSrcElementProperty srcElementProperty, ref TSrcContainer srcContainer, ref ChangeTracker changeTracker) where TSrcElementProperty : ICollectionProperty <TSrcContainer, TSrcElementValue>, ICollectionElementProperty <TSrcContainer, TSrcElementValue> { Result.AddException(new InvalidOperationException("PropertyContainer.Construct does not support arrays of arrays.")); }
public void VisitProperty <TSrcElementProperty, TSrcElementValue>( TSrcElementProperty srcElementProperty, ref TSrcContainer srcContainer, ref ChangeTracker changeTracker) where TSrcElementProperty : ICollectionElementProperty <TSrcContainer, TSrcElementValue> { var action = new DstCollectionElementGetter <TSrcElementValue> { Result = Result, SrcElementValue = srcElementProperty.GetValue(ref srcContainer) }; DstProperty.GetPropertyAtIndex(ref DstContainer, Index, ref changeTracker, ref action); }