You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							47 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							47 lines
						
					
					
						
							1.1 KiB
						
					
					
				| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using CommunityToolkit.Mvvm.ComponentModel; | |
| using CommonServiceLocator; | |
| 
 | |
| namespace SunlightCentralizedControlManagement_SCCM_.ViewModel | |
| { | |
|     public class ViewModelLocator | |
|     { | |
|         public ViewModelLocator() | |
|         { | |
| 
 | |
|         }         | |
| 
 | |
|         public MainWindowViewModel Main | |
|         { | |
|             get | |
|             { | |
|                 return ServiceLocator.Current.GetInstance<MainWindowViewModel>(); | |
|             } | |
|         } | |
|         public CurveDiagramViewModel Curve | |
|         { | |
|             get | |
|             { | |
|                 return ServiceLocator.Current.GetInstance<CurveDiagramViewModel>(); | |
|             } | |
|         } | |
|         public CurveTempModel CurveT | |
|         { | |
|             get | |
|             { | |
|                 return ServiceLocator.Current.GetInstance<CurveTempModel>(); | |
|             } | |
|         } | |
|         public ManualDyelotModel ManualDM | |
|         { | |
|             get | |
|             { | |
|                 return ServiceLocator.Current.GetInstance<ManualDyelotModel>(); | |
|             } | |
|         } | |
|     } | |
| }
 | |
| 
 |