Example #1
0
        void InstallPastecombinationDurationMediator(IWindow targetWindow)
        {
            pasteCombinationDurationMediator.PasteCombinationDurationPassed += PasteCombinationDurationMediator_PasteCombinationDurationPassed;
            pasteCombinationDurationMediator.PasteCombinationReleased       += PasteCombinationDurationMediator_PasteCombinationReleased;

            pasteCombinationDurationMediator.Connect(targetWindow);
        }
        void InstallPasteCombinationDurationMediator()
        {
            pasteCombinationDurationMediator.PasteCombinationDurationPassed +=
                PasteCombinationDurationMediator_PasteCombinationDurationPassed;
            pasteCombinationDurationMediator.PasteCombinationReleased +=
                PasteCombinationDurationMediatorPasteCombinationReleased;
            pasteCombinationDurationMediator.AfterPasteCombinationReleased +=
                AfterPasteCombinationDurationMediatorAfterPasteCombinationReleased;

            pasteCombinationDurationMediator.Connect();
        }