public DetailedDeviceInfoViewModel() { _deviceInfoRetriever = new DeviceInfoRetriever(); RetrieveInfoCommand = new DelegateCommand(RetrieveInfoExecute); // try to retrieve info on startup RetrieveInfoExecute(); }
public MainDeviceInfoViewModel() { _deviceInfoRetriever = new DeviceInfoRetriever(); _mainInfoExtractor = new MainInfoExtractor(_deviceInfoRetriever); RetrieveInfoCommand = new DelegateCommand(RetrieveInfoExecute); // try to retrieve info on startup RetrieveInfoExecute(); }