public DesktopBaseState GetDefaultBaseState() { //get default from xml or json. var value = Settings.Default.DefaultLocator; if (value == null || value.Trim() == string.Empty) { return(null); } var baseState = new DesktopBaseState(value); return(baseState); }
public void SetApplication(DesktopBaseState baseState) { _baseState = baseState; _application = baseState.Application; }
public void SetDefaultBaseState(DesktopBaseState baseState) { Settings.Default.DefaultLocator = baseState.Locator; //set default from xml or json. }