Ejemplo n.º 1
0
 void SetData(IListSource <T> data)
 {
     _hSet = new Dictionary <T, T>(data.Count);
     _mSet = new MMap <T, T>();
     _iSet = new Map <T, T>(data.Select(P));
     foreach (T item in data)
     {
         _hSet.Add(item, item);
         _mSet.Add(item, item);
     }
 }
Ejemplo n.º 2
0
 public IListSource <DragPoint> ToShapeSpace(IListSource <DragPoint> mousePoints)
 {
     return(mousePoints.Select(dp => new DragPoint(dp, _inputTransform)));
 }
Ejemplo n.º 3
0
			public IListSource<DragPoint> ToShapeSpace(IListSource<DragPoint> mousePoints)
			{
				return mousePoints.Select(dp => new DragPoint(dp, _inputTransform));
			}