- add: Service think
This commit is contained in:
@@ -24,8 +24,6 @@ public abstract class ViewModelBase : ObservableObject
|
||||
var vm = Design.IsDesignMode
|
||||
? Activator.CreateInstance(type)
|
||||
: _serviceProvider.GetService(type);
|
||||
|
||||
Console.WriteLine(vm?.ToString());
|
||||
|
||||
if (vm is not ViewModelBase vmb) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user