private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.PropertyName.Equals(ObjectHelper.GetPropertyName <InstallableFileEditorVM>(x => x.InstallableFileVM)))
     {
         InstallableFileVM = ViewModel.InstallableFileVM;
     }
 }
예제 #2
0
 public void SaveInstallableFile()
 {
     if (Validate())
     {
         InstallableFileSaved(this, new EventArgs <InstallableFile>(InstallableFileVM.Commit()));
         InstallableFileVM = new InstallableFileVM(null);
     }
 }