コード例 #1
0
 public void Save(bool isLocalSave = false, bool isStudioShutdown = false)
 {
     Save(ContextualResourceModel, isLocalSave, isStudioShutdown: isStudioShutdown);
     if (WorkSurfaceViewModel != null)
     {
         WorkSurfaceViewModel.NotifyOfPropertyChange("DisplayName");
     }
 }
コード例 #2
0
        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);
        }