C# Class WebApplications.Utilities.Threading.BufferedAction.ActionBuffer

An individual buffered action.
Inheritance: IDisposable
Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Méthode Description
ActionBuffer ( [ action ) : NodaTime

Initializes a new instance of the ActionBuffer class.

Add ( object arguments ) : void
Dispose ( ) : void

Disposes this instance.

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

Disposes the specified instance.

disposing indicates whether the method was invoked from the IDisposable.Dispose implementation or from the finalizer. The implementation should check the parameter before accessing other reference objects. Such objects should only be accessed when the method is called from the IDisposable.Dispose implementation (when the disposing parameter is equal to ). If the method is invoked from the finalizer (disposing is false), other objects should not be accessed. The reason is that objects are finalized in an unpredictable order and so they, or any of their dependencies, might already have been finalized.

OnTick ( object state ) : void

Called when we have a timer tick.

Method Details

ActionBuffer() public méthode

Initializes a new instance of the ActionBuffer class.
public ActionBuffer ( [ action ) : NodaTime
action [ The action.
Résultat NodaTime

Add() public méthode

public Add ( object arguments ) : void
arguments object
Résultat void

Dispose() public méthode

Disposes this instance.
public Dispose ( ) : void
Résultat void