C# Class Taskling.CriticalSection.CriticalSectionContext

Inheritance: ICriticalSectionContext
Afficher le fichier Open project: Vanlightly/Taskling.NET

Méthodes publiques

Méthode Description
Complete ( ) : void
CriticalSectionContext ( ICriticalSectionRepository criticalSectionRepository, TaskExecutionInstance taskExecutionInstance, TaskExecutionOptions taskExecutionOptions, CriticalSectionType criticalSectionType ) : System
Dispose ( ) : void
IsActive ( ) : bool
TryStart ( ) : bool
TryStart ( System.TimeSpan retryInterval, int numberOfAttempts ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
TryStartCriticalSection ( ) : bool
ValidateOptions ( ) : void

Method Details

Complete() public méthode

public Complete ( ) : void
Résultat void

CriticalSectionContext() public méthode

public CriticalSectionContext ( ICriticalSectionRepository criticalSectionRepository, TaskExecutionInstance taskExecutionInstance, TaskExecutionOptions taskExecutionOptions, CriticalSectionType criticalSectionType ) : System
criticalSectionRepository ICriticalSectionRepository
taskExecutionInstance Taskling.ExecutionContext.TaskExecutionInstance
taskExecutionOptions Taskling.Tasks.TaskExecutionOptions
criticalSectionType CriticalSectionType
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

IsActive() public méthode

public IsActive ( ) : bool
Résultat bool

TryStart() public méthode

public TryStart ( ) : bool
Résultat bool

TryStart() public méthode

public TryStart ( System.TimeSpan retryInterval, int numberOfAttempts ) : bool
retryInterval System.TimeSpan
numberOfAttempts int
Résultat bool