public PortForwardingViewModel(IWindowManager windowManager, IViewManager viewManager, IViewModelFactory viewModelFactory, IDialogModelFactory dialogModelFactory) { _windowManager = windowManager; _viewManager = viewManager; _dialogModelFactory = dialogModelFactory; _deviceViewModel = viewModelFactory.CreateDeviceViewModel(); this.DisplayName = "Port Forwarding"; }
public DialogSensorExpandingService(IDialogModelFactory factory) { _factory = factory; _typeToDialogDictionary = new Dictionary <SensorTypes, DialogSensorViewTypes>(); }