Interface IJobStrategyService
Defines the contract for backup job strategies. Implementations of this interface must provide a concrete execution method for different types of backup jobs.
Namespace: EasySave_Project.Service
Assembly: .dll
Syntax
public interface IJobStrategyService
Methods
| Edit this page View SourceExecute(JobModel, string)
Executes the backup job using the specified job model and target backup directory.
Declaration
void Execute(JobModel job, string backupDir)
Parameters
Type | Name | Description |
---|---|---|
JobModel | job | The JobModel object representing the job to execute. |
string | backupDir | The directory where the backup will be stored. |
Events
| Edit this page View SourceOnProgressChanged
Declaration
event Action<double> OnProgressChanged
Event Type
Type | Description |
---|---|
Action<double> |