31 lines
725 B
C#
31 lines
725 B
C#
using Prism.Mvvm;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Demo.Common.Models
|
|
{
|
|
public class AgoraDeviceInfo : BindableBase
|
|
{
|
|
public AgoraDeviceInfo(string deviceId, string deviceName, bool isSelected = false)
|
|
{
|
|
DeviceId = deviceId;
|
|
DeviceName = deviceName;
|
|
IsSelected = isSelected;
|
|
}
|
|
public string DeviceId { get; set; }
|
|
|
|
public string DeviceName { get; set; }
|
|
|
|
|
|
private bool isSelected;
|
|
public bool IsSelected
|
|
{
|
|
get { return isSelected; }
|
|
set { SetProperty(ref isSelected, value); }
|
|
}
|
|
}
|
|
}
|