Example #1
0
        public VsoMonitor(IInputDevice device, VsoConnection.Factory connectionFactory)
        {
            name = device.Name;
            vsoConnection = connectionFactory(device);

            var pollingInterval = device.PollingInterval > 0 ? device.PollingInterval : 30; // default to 30 seconds
            delayInterval = TimeSpan.FromSeconds(pollingInterval);
        }
 public VsoInputSelectorViewModel(VsoDevice device)
 {
     connection = new VsoConnection(device);
 }