Ejemplo n.º 1
0
 protected override void Dispose(bool disposing)
 {
     if (externalPropertyBindingViewModel == null)
     {
         externalPropertyBindingViewModel = this.DataContext as ExternalPropertyBindingViewModel;
     }
     externalPropertyBindingViewModel.Dispose();
     base.Dispose(disposing);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ExternalPropertyBindingViewModel()
 {
     _taskCollection = ExternalPropertyBindingViewModel.GetData();
 }