Просмотр исходного кода

NotificationObject在prism 5.0中已经废弃,由BindableBase替代

tanghai 11 лет назад
Родитель
Сommit
837c619015
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      CSharp/App/Editor/ShellViewModel.cs

+ 2 - 2
CSharp/App/Editor/ShellViewModel.cs

@@ -1,10 +1,10 @@
 using System.ComponentModel.Composition;
-using Microsoft.Practices.Prism.ViewModel;
+using Microsoft.Practices.Prism.Mvvm;
 
 namespace Editor
 {
 	[Export]
-	public class ShellViewModel: NotificationObject
+	public class ShellViewModel: BindableBase
 	{
 		// This is where any view model logic for the shell would go.
 	}