C# Class RetroShareSSHClient.Bridge

Exibir arquivo Open project: sehraf/RSSSHClient Class Usage Examples

Private Properties

Property Type Description
Bridge System
InitBridge void

Public Methods

Method Description
GetBridge ( MainForm gui = null ) : Bridge

This function will return always the same bridge.

Reset ( ) : void

Resets all components

Private Methods

Method Description
Bridge ( MainForm gui ) : System
InitBridge ( ) : void

This need to be called after the bridge is instanced! Most classes call GetBridge() on initialisation and if there is no bridge (yet) this will end up in an endless loop.

Method Details

GetBridge() public static method

This function will return always the same bridge.
public static GetBridge ( MainForm gui = null ) : Bridge
gui MainForm gui only needs to be set on the first call!
return Bridge

Reset() public method

Resets all components
public Reset ( ) : void
return void