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