Show / Hide Table of Contents

Class JobsPageViewModel

ViewModel for the Jobs Page. Manages the display and execution of backup jobs.

Inheritance
object
ReactiveObject
JobsPageViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
INotifyPropertyChanged
INotifyPropertyChanging
IEnableLogger
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: EasySave_Project.ViewModels.Pages
Assembly: .dll
Syntax
public class JobsPageViewModel : ReactiveObject, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger

Constructors

| Edit this page View Source

JobsPageViewModel()

Declaration
public JobsPageViewModel()

Properties

| Edit this page View Source

AddAJob

Declaration
public string AddAJob { get; }
Property Value
Type Description
string
| Edit this page View Source

AllJobs

Declaration
public string AllJobs { get; }
Property Value
Type Description
string
| Edit this page View Source

Destination

Declaration
public string Destination { get; }
Property Value
Type Description
string
| Edit this page View Source

ExecuteCommand

UI text labels retrieved from the translation service.

Declaration
public ReactiveCommand<Unit, Unit> ExecuteCommand { get; }
Property Value
Type Description
ReactiveCommand<Unit, Unit>
| Edit this page View Source

Jobs

Declaration
public ObservableCollection<JobModel> Jobs { get; }
Property Value
Type Description
ObservableCollection<JobModel>
| Edit this page View Source

Name

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

PriorityExtension

Declaration
public string PriorityExtension { get; }
Property Value
Type Description
string
| Edit this page View Source

Progress

Declaration
public string Progress { get; }
Property Value
Type Description
string
| Edit this page View Source

Results

Declaration
public string Results { get; }
Property Value
Type Description
string
| Edit this page View Source

Run

Declaration
public string Run { get; }
Property Value
Type Description
string
| Edit this page View Source

Source

Declaration
public string Source { get; }
Property Value
Type Description
string
| Edit this page View Source

Type

Declaration
public string Type { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

CancelJobInActif(JobModel, Action<JobModel, double>)

Declaration
public void CancelJobInActif(JobModel jib, Action<JobModel, double> progressCallback)
Parameters
Type Name Description
JobModel jib
Action<JobModel, double> progressCallback
| Edit this page View Source

ExecuteJobsParallelThreadPool(List<JobModel>, Action<JobModel, double>, Action<string, string>)

Executes multiple jobs in parallel using a thread pool, providing progress updates and notifications.

Declaration
public void ExecuteJobsParallelThreadPool(List<JobModel> jobs, Action<JobModel, double> progressCallback, Action<string, string> showPopup)
Parameters
Type Name Description
List<JobModel> jobs

The list of jobs to execute.

Action<JobModel, double> progressCallback

Callback function to update progress.

Action<string, string> showPopup

Function to display notifications.

| Edit this page View Source

Refresh()

Refreshes translations and reloads the job list.

Declaration
public void Refresh()

Implements

ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
INotifyPropertyChanged
INotifyPropertyChanging
Splat.IEnableLogger
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX