Esempio n. 1
0
 private DragProxy()
 {
     _canvasPool  = new LightObjectPool <Canvas>(() => new Canvas(), InitCanvas, ReleaseCanvas);
     _popup.Child = _globalCanvas;
 }
Esempio n. 2
0
 public RuntimeTransitionPool(Func <IAnimator> animatorFactory)
 {
     _transitionsPool = new LightObjectPool <RuntimeSetterTransition>(() => new RuntimeSetterTransition(animatorFactory(), this));
 }