Example #1
0
        /// <summary>
        /// Method to invoke when the MessageMediatorExample command is executed.
        /// </summary>
        private void OnMessageMediatorExampleExecute()
        {
            var vm = new MessageMediatorViewModel();

            _uiVisualizerService.ShowDialog(vm);
        }
 /// <summary>
 /// Method to invoke when the MessageMediatorExample command is executed.
 /// </summary>
 private void OnMessageMediatorExampleExecute()
 {
     var vm = new MessageMediatorViewModel();
     _uiVisualizerService.ShowDialog(vm);
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageMediatorWindow"/> class.
 /// </summary>
 /// <param name="viewModel">
 /// The view model to inject.
 /// </param>
 /// <remarks>
 /// This constructor can be used to use view-model injection.
 /// </remarks>
 public MessageMediatorWindow(MessageMediatorViewModel viewModel)
     : base(viewModel, DataWindowMode.Close)
 {
     InitializeComponent();
 }