C# 클래스 WebApplications.Utilities.Threading.BufferedAction.ActionBuffer

An individual buffered action.
상속: IDisposable
파일 보기 프로젝트 열기: webappsuk/CoreLibraries

공개 메소드들

메소드 설명
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