using Tango.Core.DI; using Tango.MachineStudio.Catalogs.ViewModels; using Tango.MachineStudio.Catalogs.Views; namespace Tango.MachineStudio.Catalogs { /// /// This class contains static references to all the view models in the /// application and provides an entry point for the bindings. /// public static class ViewModelLocator { /// /// Initializes a new instance of the ViewModelLocator class. /// static ViewModelLocator() { TangoIOC.Default.Register(); } public static MainViewVM MainViewVM { get { return TangoIOC.Default.GetInstance(); } } } }