C# Class PortableRx.Reactive.HostLifecycleService

Show file Open project: robfe/PortableRx

Public Methods

Method Description
AddRef ( ) : void

Adds a reference to the host lifecycle manager, causing it to be sending notifications.

Release ( ) : void

Removes a reference to the host lifecycle manager, causing it to stop sending notifications if the removed reference was the last one.

Private Methods

Method Description
InitializeNotifications ( ) : IHostLifecycleNotifications
OnResuming ( object sender, HostResumingEventArgs e ) : void
OnSuspending ( object sender, HostSuspendingEventArgs e ) : void

Method Details

AddRef() public static method

Adds a reference to the host lifecycle manager, causing it to be sending notifications.
public static AddRef ( ) : void
return void

Release() public static method

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