C# Class PortableRx.Reactive.SystemClock

Exibir arquivo Open project: robfe/PortableRx

Public Methods

Method Description
AddRef ( ) : void

Adds a reference to the system clock monitor, causing it to be sending notifications.

Release ( ) : void

Removes a reference to the system clock monitor, causing it to stop sending notifications if the removed reference was the last one.

Private Methods

Method Description
InitializeSystemClock ( ) : ISystemClock
InitializeSystemClockChanged ( ) : INotifySystemClockChanged
OnSystemClockChanged ( object sender, SystemClockChangedEventArgs e ) : void

Method Details

AddRef() public static method

Adds a reference to the system clock monitor, causing it to be sending notifications.
Thrown when the system doesn't support sending clock change notifications.
public static AddRef ( ) : void
return void

Release() public static method

Removes a reference to the system clock monitor, causing it to stop sending notifications if the removed reference was the last one.
public static Release ( ) : void
return void