示例#1
0
 public void Commit()
 {
     if (this.ProjectSystemOptionsModel != null)
     {
         this.configurationObject.Clear();
         this.ProjectSystemOptionsModel.Save(this.configurationObject);
         this.assemblyLoggingService.IsEnabled = this.ProjectSystemOptionsModel.LogAssemblyLoading;
         this.projectSystemOptionsModel        = null;
         this.projectSystemOptionsControl      = null;
         this.Apply();
     }
 }
示例#2
0
 public void Cancel()
 {
     this.projectSystemOptionsModel   = null;
     this.projectSystemOptionsControl = null;
 }