Last-Modified: Sun, 21 Jun 2026 18:46:14 GMT Expires: Sun, 21 Jun 2026 18:51:14 GMT Tango - Twine softwares
aboutsummaryrefslogtreecommitdiffstats
path: root/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5d/f062849769be0019134ecad0f74d8ddd
stat options
Period:
Authors:

Commits per author per week (path 'Software/.metadata/.plugins/org.eclipse.core.resources/.history/5d/f062849769be0019134ecad0f74d8ddd')

AuthorW22 2026W23 2026W24 2026W25 2026Total
Total00000
using Tango.Core.DI;
using Tango.MachineStudio.Developer.Navigation;
using Tango.MachineStudio.Developer.ViewModels;
using Tango.MachineStudio.Developer.Views;

namespace Tango.MachineStudio.Developer
{
    /// <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<DeveloperNavigationManager, DeveloperNavigationManager>();
            TangoIOC.Default.Register<MainViewVM>();
        }

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