diff options
| author | Avi Levkovich <avi@twine-s.com> | 2017-12-28 15:16:27 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2017-12-28 15:16:27 +0200 |
| commit | c056f991c0168f6449fac16c3b0cb165518c5e01 (patch) | |
| tree | e5c69bb1f3e03029991efe15e930af80ff6712db /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs | |
| parent | 15799210aab388996f86808e000940093306ca41 (diff) | |
| parent | 2d3f4bfd4b265888933ad8a7e21e4dd80aa1eda2 (diff) | |
| download | Tango-c056f991c0168f6449fac16c3b0cb165518c5e01.tar.gz Tango-c056f991c0168f6449fac16c3b0cb165518c5e01.zip | |
MERGE.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs | 127 |
1 files changed, 124 insertions, 3 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs index 48175ed17..857f0d3cf 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs @@ -38,9 +38,26 @@ namespace Tango.MachineStudio.DB SimpleIoc.Default.Register<IdsPacksViewVM>(); SimpleIoc.Default.Register<DispensersViewVM>(); SimpleIoc.Default.Register<DispenserTypesViewVM>(); - SimpleIoc.Default.Register<LiquidsViewVM>(); + SimpleIoc.Default.Register<LiquidTypesViewVM>(); SimpleIoc.Default.Register<CartridgesViewVM>(); SimpleIoc.Default.Register<CartridgeTypesViewVM>(); + + SimpleIoc.Default.Register<EventTypesViewVM>(); + SimpleIoc.Default.Register<ActionTypesViewVM>(); + + SimpleIoc.Default.Register<ContactsViewVM>(); + + SimpleIoc.Default.Register<MediaMaterialsViewVM>(); + SimpleIoc.Default.Register<MediaColorsViewVM>(); + SimpleIoc.Default.Register<MediaPurposesViewVM>(); + SimpleIoc.Default.Register<MediaConditionsViewVM>(); + SimpleIoc.Default.Register<LinearMassDensityUnitsViewVM>(); + SimpleIoc.Default.Register<FiberShapesViewVM>(); + SimpleIoc.Default.Register<FiberSynthsViewVM>(); + SimpleIoc.Default.Register<RmlsViewVM>(); + + SimpleIoc.Default.Register<CctsViewVM>(); + SimpleIoc.Default.Register<CatsViewVM>(); } public static MainViewVM MainViewVM @@ -195,11 +212,11 @@ namespace Tango.MachineStudio.DB } } - public static LiquidsViewVM LiquidsViewVM + public static LiquidTypesViewVM LiquidTypesViewVM { get { - return ServiceLocator.Current.GetInstance<LiquidsViewVM>(); + return ServiceLocator.Current.GetInstance<LiquidTypesViewVM>(); } } @@ -218,5 +235,109 @@ namespace Tango.MachineStudio.DB return ServiceLocator.Current.GetInstance<CartridgeTypesViewVM>(); } } + + public static EventTypesViewVM EventTypesViewVM + { + get + { + return ServiceLocator.Current.GetInstance<EventTypesViewVM>(); + } + } + + public static ActionTypesViewVM ActionTypesViewVM + { + get + { + return ServiceLocator.Current.GetInstance<ActionTypesViewVM>(); + } + } + + public static ContactsViewVM ContactsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<ContactsViewVM>(); + } + } + + public static MediaMaterialsViewVM MediaMaterialsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<MediaMaterialsViewVM>(); + } + } + + public static MediaColorsViewVM MediaColorsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<MediaColorsViewVM>(); + } + } + + public static MediaPurposesViewVM MediaPurposesViewVM + { + get + { + return ServiceLocator.Current.GetInstance<MediaPurposesViewVM>(); + } + } + + public static MediaConditionsViewVM MediaConditionsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<MediaConditionsViewVM>(); + } + } + + public static LinearMassDensityUnitsViewVM LinearMassDensityUnitsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<LinearMassDensityUnitsViewVM>(); + } + } + + public static FiberShapesViewVM FiberShapesViewVM + { + get + { + return ServiceLocator.Current.GetInstance<FiberShapesViewVM>(); + } + } + + public static FiberSynthsViewVM FiberSynthsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<FiberSynthsViewVM>(); + } + } + + public static RmlsViewVM RmlsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<RmlsViewVM>(); + } + } + + public static CctsViewVM CctsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<CctsViewVM>(); + } + } + + public static CatsViewVM CatsViewVM + { + get + { + return ServiceLocator.Current.GetInstance<CatsViewVM>(); + } + } } }
\ No newline at end of file |
