Ejemplo n.º 1
0
        private static void TestMediatorPattern()
        {
            var dialog = new ArticlesDialogBox();

            dialog.SimulateUserInteraction();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Allows an object to encapsulate the communication between other objects.
        ///
        /// Among the classes there's a meditor class which helps all the other classes communicate with each other without having any coupling.
        /// </summary>
        static void Mediator()
        {
            var dialog = new ArticlesDialogBox();

            dialog.SimulateUserInteraction();
        }
Ejemplo n.º 3
0
        public static void Run()
        {
            var dialog = new ArticlesDialogBox();

            dialog.SimulateUserInteraction();
        }
Ejemplo n.º 4
0
        public static void Behavioral_Mediator()
        {
            var dialog = new ArticlesDialogBox();

            dialog.SimulateUserInteraction();
        }