Эх сурвалжийг харах

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

tanghai 11 жил өмнө
parent
commit
837c619015

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

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