Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IDisposable hideDisposable = null;
- hideDisposable = Observable.FromEvent(h => window.HideAnimation.AnimationEnded += h,
- h => window.HideAnimation.AnimationEnded -= h)
- .Subscribe(_ =>
- {
- HideEnded?.Invoke(window);
- hideDisposable?.Dispose();
- });
Advertisement
Add Comment
Please, Sign In to add comment