public void Save(bool isLocalSave = false, bool isStudioShutdown = false) { Save(ContextualResourceModel, isLocalSave, isStudioShutdown: isStudioShutdown); if (WorkSurfaceViewModel != null) { WorkSurfaceViewModel.NotifyOfPropertyChange("DisplayName"); } }
public bool Save(bool isLocalSave = false, bool isStudioShutdown = false) { var saveResult = Save(ContextualResourceModel, isLocalSave); WorkSurfaceViewModel?.NotifyOfPropertyChange("DisplayName"); if (!isLocalSave) { if (DebugOutputViewModel != null) { ViewModelUtils.RaiseCanExecuteChanged(DebugOutputViewModel.AddNewTestCommand); } } return(saveResult); }