Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void SetApplication(DesktopBaseState baseState)
 {
     _baseState   = baseState;
     _application = baseState.Application;
 }
Ejemplo n.º 3
0
 public void SetDefaultBaseState(DesktopBaseState baseState)
 {
     Settings.Default.DefaultLocator = baseState.Locator;
     //set default from xml or json.
 }