Show / Hide Table of Contents

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 Source

Execute(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 Source

OnProgressChanged

Declaration
event Action<double> OnProgressChanged
Event Type
Type Description
Action<double>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX