public PaymentDocumentView(PaymentDocumentViewModel viewModel, IRegionManager regionManager, IEventAggregator eventAggregator, IMessageService messageService) : base(regionManager, eventAggregator)
 {
     InitializeComponent();
     _viewModel       = viewModel;
     _messageService  = messageService;
     this.DataContext = _viewModel;
 }
示例#2
0
 public AddPaymentCommand(PaymentDocumentViewModel viewModel, IUnityContainer container) : base(viewModel, container)
 {
 }
 protected BasePaymentDocumentCommand(PaymentDocumentViewModel viewModel, IUnityContainer container)
 {
     ViewModel = viewModel;
     Container = container;
 }