mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
24 lines
555 B
C#
24 lines
555 B
C#
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
|
|
|
namespace Immense.RemoteControl.Desktop.Shared.ViewModels;
|
|
|
|
public partial class FileUpload : ObservableObject
|
|
{
|
|
public string FilePath
|
|
{
|
|
get => Get(defaultValue: string.Empty);
|
|
set => Set(value);
|
|
}
|
|
|
|
|
|
public double PercentProgress
|
|
{
|
|
get => Get<double>();
|
|
set => Set(value);
|
|
}
|
|
|
|
public CancellationTokenSource CancellationTokenSource { get; } = new CancellationTokenSource();
|
|
|
|
public string DisplayName => Path.GetFileName(FilePath);
|
|
}
|