コード例 #1
0
        public void Close <TViewModel>(DialogResult dialogResult, IAgileTeamViewModel viewModel) where TViewModel : IAgileTeamViewModel
        {
            IsClosing = true;

            MessengerService.CloseView <TViewModel>();
            RaiseViewClosedEvent(new ViewModelEventArgs(dialogResult, viewModel));

            IsClosed = true;
        }
コード例 #2
0
 public ViewModelEventArgs(DialogResult dialogResult, IAgileTeamViewModel viewModel)
 {
     DialogResult = dialogResult;
     ViewModel    = viewModel;
 }