aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Basic/Properties/Settings.settings
blob: 033d7a5e9e2266753180f4e3a9299f575046701e (plain)
1
2
3
4
5
6
7
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
  <Profiles>
    <Profile Name="(Default)" />
  </Profiles>
  <Settings />
</SettingsFile>
0; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using Tango.Core.DI;
using Tango.MachineStudio.Synchronization.Navigation;
using Tango.MachineStudio.Synchronization.ViewModels;

namespace Tango.MachineStudio.Synchronization
{
    /// <summary>
    /// This class contains static references to all the view models in the
    /// application and provides an entry point for the bindings.
    /// </summary>
    public static class ViewModelLocator
    {
        /// <summary>
        /// Initializes a new instance of the ViewModelLocator class.
        /// </summary>
        static ViewModelLocator()
        {
            TangoIOC.Default.Register<MainViewVM>();
            TangoIOC.Default.Register<MenuViewVM>();
            TangoIOC.Default.Register<LocalSynchronizationViewVM>();
            TangoIOC.Default.Register<RemoteSynchronizationViewVM>();
            TangoIOC.Default.Register<DirectSynchronizationViewVM>();

            TangoIOC.Default.Unregister<SyncNavigationManager>();

            TangoIOC.Default.Register<SyncNavigationManager, SyncNavigationManager>();
        }

        public static MainViewVM MainViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<MainViewVM>();
            }
        }

        public static MenuViewVM MenuViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<MenuViewVM>();
            }
        }

        public static LocalSynchronizationViewVM LocalSynchronizationViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<LocalSynchronizationViewVM>();
            }
        }

        public static RemoteSynchronizationViewVM RemoteSynchronizationViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<RemoteSynchronizationViewVM>();
            }
        }

        public static DirectSynchronizationViewVM DirectSynchronizationViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<DirectSynchronizationViewVM>();
            }
        }
    }
}