//private string GetGlobalVariable(string varName, string defaultValue) //{ // return GlobalVariables.GetGlobalVariable(Globals, varName, defaultValue); //} public void SetGlobalVariables() { IncrementSettings.Save(); foreach (var child in SubItems) { child.SetGlobalVariables(); } }
//private string GetGlobalVariable(string varName, string defaultValue) //{ // return GlobalVariables.GetGlobalVariable(Globals, varName, defaultValue); //} public void SetGlobalVariables() { Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(); IncrementSettings.Save(); foreach (var child in SubItems) { child.SetGlobalVariables(); } }
public void ApplyGlobalSettings() { var globalSett = new GlobalIncrementSettings(); try { globalSett.Load(); } catch (Exception ex) { throw (new ApplicationException( "Exception occured while applying global settings to the solution item (" + UniqueName + ").", ex)); } IncrementSettings.CopyFrom(globalSett); }
private void GetGlobalVariables() { Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(); IncrementSettings.Load(); }
private void GetGlobalVariables() { IncrementSettings.Load(); }