C# Класс WebApplications.Utilities.Threading.BufferedAction.ActionBuffer

An individual buffered action.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
ActionBuffer ( [ action ) : NodaTime

Initializes a new instance of the ActionBuffer class.

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

Disposes this instance.

Приватные методы

Метод Описание
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.

Описание методов

ActionBuffer() публичный Метод

Initializes a new instance of the ActionBuffer class.
public ActionBuffer ( [ action ) : NodaTime
action [ The action.
Результат NodaTime

Add() публичный Метод

public Add ( object arguments ) : void
arguments object
Результат void

Dispose() публичный Метод

Disposes this instance.
public Dispose ( ) : void
Результат void