aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/RefreshTokenResponse.cs
blob: c7fcef5cbeabdcfa7fe03179b42888fbd6b5ee6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Transport.Web;

namespace Tango.MachineStudio.Common.Web
{
    public class RefreshTokenResponse : WebResponseMessage
    {
        public String AccessToken { get; set; }
        public DateTime Expiration { get; set; }
    }
}
ango.MachineStudio.Common.Video.IVideoCaptureProvider" /> public class DefaultVideoCaptureProvider : IVideoCaptureProvider { /// <summary> /// Gets the available capture devices. /// </summary> public ObservableCollection<CaptureDevice> AvailableCaptureDevices { get; private set; } /// <summary> /// Initializes a new instance of the <see cref="DefaultVideoCaptureProvider"/> class. /// </summary> public DefaultVideoCaptureProvider() { AvailableCaptureDevices = new ObservableCollection<CaptureDevice>(); var availableDevices = CaptureDevice.GetAvailableCaptureDevices(); for (int i = 0; i < availableDevices.Count; i++) { AvailableCaptureDevices.Add(new CaptureDevice() { Device = availableDevices[i] }); } while (AvailableCaptureDevices.Count < 3) { AvailableCaptureDevices.Add(new CaptureDevice() { Device = null, }); } } } }