コード例 #1
0
 public ProductDeleteCommand(ProductViewModel ViewModel)
 {
     _viewModel = ViewModel;
 }
コード例 #2
0
 public ProductView()
 {
     InitializeComponent();
     DataContext = new ProductViewModel();
 }
コード例 #3
0
 /// <summary>
 /// Yapıcı metod. Her komut nesnesi oluşturulduğunda çalışır.
 /// </summary>
 /// <param name="ViewModel"></param>
 public ProductUpdateCommand(ProductViewModel ViewModel)
 {
     _viewModel = ViewModel;
 }