Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }