C# Class Aspectacular.Test.CoreTests.PollAdapterTest

Datei anzeigen Open project: vgribok/Aspectacular

Public Methods

Method Description
PollCurrentTime ( DateTimeOffset targetTime ) : object

Keeps returning null while current time is either less than target time, or exceeds it by 0.5 seconds. Otherwise returns current time.

Private Methods

Method Description
TestSmartPollingBlocking ( ) : void
TestSmartPollingCallback ( ) : void

Method Details

PollCurrentTime() public static method

Keeps returning null while current time is either less than target time, or exceeds it by 0.5 seconds. Otherwise returns current time.
public static PollCurrentTime ( DateTimeOffset targetTime ) : object
targetTime DateTimeOffset
return object