C# Class Aspectacular.Test.CoreTests.PollAdapterTest

Afficher le fichier Open project: vgribok/Aspectacular

Méthodes publiques

Méthode 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

Méthode Description
TestSmartPollingBlocking ( ) : void
TestSmartPollingCallback ( ) : void

Method Details

PollCurrentTime() public static méthode

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
Résultat object