namespace VideoBrowser.ViewModels
{
using System.Windows.Media;
using VideoBrowser.Common;
using VideoBrowser.Extensions;
using VideoBrowser.Models;
using VideoBrowser.Resources;
///
/// Defines the
///
public class VideoViewModel : NotifyPropertyChanged
{
#region Fields
private double _downloadProgress;
private Video _video;
#endregion Fields
#region Properties
///
/// Gets or sets the DownloadProgress
///
public double DownloadProgress { get => this._downloadProgress; set => this.Set(this.PropertyChangedHandler, ref this._downloadProgress, value); }
///
/// Gets or sets the Icon
///
public Geometry Icon { get; set; } = Icons.SearchVideo;
///
/// Gets or sets the Video
///
public Video Video { get => this._video; set => this.Set(this.PropertyChangedHandler, ref this._video, value); }
#endregion Properties
}
}