C# Class NuGet.Services.Work.JobHandlerBase

Afficher le fichier Open project: NuGet/NuGet.Services.Work Class Usage Examples

Méthodes publiques

Méthode Description
Enqueue ( Type job ) : Task
Enqueue ( Type job, string>.Dictionary payload ) : Task
Enqueue ( Type job, string>.Dictionary payload, System.TimeSpan delayFor ) : Task
Enqueue ( string job ) : Task
Enqueue ( string job, string>.Dictionary payload ) : Task
Enqueue ( string job, string>.Dictionary payload, System.TimeSpan delayFor, string jobInstanceName = null ) : Task
GetEventSources ( ) : IEnumerable
Invoke ( InvocationContext context ) : Task

Méthodes protégées

Méthode Description
BindContext ( InvocationContext context ) : InvocationResult
BindProperties ( string>.Dictionary dictionary ) : void
BindProperty ( PropertyDescriptor prop, string value ) : void
ConvertPropertyValue ( PropertyDescriptor prop, string value ) : object
Extend ( System.TimeSpan duration ) : Task
ExtendIfNeeded ( System.TimeSpan extendFor ) : Task
ExtendIfNeeded ( System.TimeSpan extendFor, System.TimeSpan threshold ) : Task
GetBindableProperties ( ) : PropertyDescriptorCollection
Invoke ( ) : Task

Method Details

BindContext() protected méthode

protected BindContext ( InvocationContext context ) : InvocationResult
context InvocationContext
Résultat InvocationResult

BindProperties() protected méthode

protected BindProperties ( string>.Dictionary dictionary ) : void
dictionary string>.Dictionary
Résultat void

BindProperty() protected méthode

protected BindProperty ( PropertyDescriptor prop, string value ) : void
prop System.ComponentModel.PropertyDescriptor
value string
Résultat void

ConvertPropertyValue() protected méthode

protected ConvertPropertyValue ( PropertyDescriptor prop, string value ) : object
prop System.ComponentModel.PropertyDescriptor
value string
Résultat object

Enqueue() public méthode

public Enqueue ( Type job ) : Task
job System.Type
Résultat Task

Enqueue() public méthode

public Enqueue ( Type job, string>.Dictionary payload ) : Task
job System.Type
payload string>.Dictionary
Résultat Task

Enqueue() public méthode

public Enqueue ( Type job, string>.Dictionary payload, System.TimeSpan delayFor ) : Task
job System.Type
payload string>.Dictionary
delayFor System.TimeSpan
Résultat Task

Enqueue() public méthode

public Enqueue ( string job ) : Task
job string
Résultat Task

Enqueue() public méthode

public Enqueue ( string job, string>.Dictionary payload ) : Task
job string
payload string>.Dictionary
Résultat Task

Enqueue() public méthode

public Enqueue ( string job, string>.Dictionary payload, System.TimeSpan delayFor, string jobInstanceName = null ) : Task
job string
payload string>.Dictionary
delayFor System.TimeSpan
jobInstanceName string
Résultat Task

Extend() protected méthode

protected Extend ( System.TimeSpan duration ) : Task
duration System.TimeSpan
Résultat Task

ExtendIfNeeded() protected méthode

protected ExtendIfNeeded ( System.TimeSpan extendFor ) : Task
extendFor System.TimeSpan
Résultat Task

ExtendIfNeeded() protected méthode

protected ExtendIfNeeded ( System.TimeSpan extendFor, System.TimeSpan threshold ) : Task
extendFor System.TimeSpan
threshold System.TimeSpan
Résultat Task

GetBindableProperties() protected méthode

protected GetBindableProperties ( ) : PropertyDescriptorCollection
Résultat System.ComponentModel.PropertyDescriptorCollection

GetEventSources() public abstract méthode

public abstract GetEventSources ( ) : IEnumerable
Résultat IEnumerable

Invoke() protected abstract méthode

protected abstract Invoke ( ) : Task
Résultat Task

Invoke() public méthode

public Invoke ( InvocationContext context ) : Task
context InvocationContext
Résultat Task