public TrackedSetSelectorTest() { _original[0].Xs.Add(new S("123", null)); _setSynchronizer = _original[0].TrackSet(s => s.Xs) .Select(s => s.Track(x => x.Name.Length)) .SynchronizeTo(_destination); }
public UntrackedSetSelectorTest() { _original[0].Xs.Add(new S("123", null)); _setSynchronizer = _original[0].TrackSet(s => s.Xs) .Select(s => new Target { Value = s.Name.Length }) .With(s => s.Track(x => x.Name.Length), (t, x) => t.Value = x + 1) .SynchronizeTo(_destination); }