C# Class NetIde.Services.JobManager.NiJobManager

Inheritance: ServiceBase, INiJobManager
Afficher le fichier Open project: netide/netide Class Usage Examples

Méthodes publiques

Méthode Description
CreateJob ( INiJobHandler handler, INiJob &job ) : HResult
Enqueue ( ) : HResult
GetAllJobs ( ) : IList
NiJobManager ( IServiceProvider serviceProvider ) : System
ReportProgressChanged ( NiJob job ) : void
WaitForAll ( ) : HResult
WaitForAll ( bool showDialog ) : HResult
WaitForJob ( INiJob job ) : HResult

Private Methods

Méthode Description
OnJobAdded ( JobEventArgs e ) : void
OnJobRemoved ( JobEventArgs e ) : void
OnProgressChanged ( JobEventArgs e ) : void
ProcessJobs ( object state ) : void

Method Details

CreateJob() public méthode

public CreateJob ( INiJobHandler handler, INiJob &job ) : HResult
handler INiJobHandler
job INiJob
Résultat HResult

Enqueue() public méthode

public Enqueue ( ) : HResult
Résultat HResult

GetAllJobs() public méthode

public GetAllJobs ( ) : IList
Résultat IList

NiJobManager() public méthode

public NiJobManager ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
Résultat System

ReportProgressChanged() public méthode

public ReportProgressChanged ( NiJob job ) : void
job NiJob
Résultat void

WaitForAll() public méthode

public WaitForAll ( ) : HResult
Résultat HResult

WaitForAll() public méthode

public WaitForAll ( bool showDialog ) : HResult
showDialog bool
Résultat HResult

WaitForJob() public méthode

public WaitForJob ( INiJob job ) : HResult
job INiJob
Résultat HResult