C# Class Dev2.Network.ServerProxy

Inheritance: IEnvironmentConnection
Exibir arquivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
Connect ( System.Guid id ) : void
Disconnect ( ) : void
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExecuteCommand ( StringBuilder xmlRequest, System.Guid workspaceId ) : StringBuilder
ExecuteCommandAsync ( StringBuilder xmlRequest, System.Guid workspaceId ) : Task
ServerProxy ( Uri serverUri ) : System
ServerProxy ( string serverUri, ICredentials credentials, IAsyncWorker worker ) : System
ServerProxy ( string webAddress, string userName, string password ) : System
StartAutoConnect ( ) : void
Verify ( Action callback, bool wait = true ) : void

Protected Methods

Method Description
OnNetworkStateChanged ( NetworkStateEventArgs e ) : void

Private Methods

Method Description
RaisePermissionsChanged ( ) : void
RaisePermissionsModified ( List args ) : void
SetupPassthroughEvents ( ) : void
UpdateIsAuthorized ( bool isAuthorized ) : void

Method Details

Connect() public method

public Connect ( System.Guid id ) : void
id System.Guid
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

ExecuteCommand() public method

public ExecuteCommand ( StringBuilder xmlRequest, System.Guid workspaceId ) : StringBuilder
xmlRequest StringBuilder
workspaceId System.Guid
return StringBuilder

ExecuteCommandAsync() public method

public ExecuteCommandAsync ( StringBuilder xmlRequest, System.Guid workspaceId ) : Task
xmlRequest StringBuilder
workspaceId System.Guid
return Task

OnNetworkStateChanged() protected method

protected OnNetworkStateChanged ( NetworkStateEventArgs e ) : void
e NetworkStateEventArgs
return void

ServerProxy() public method

public ServerProxy ( Uri serverUri ) : System
serverUri System.Uri
return System

ServerProxy() public method

public ServerProxy ( string serverUri, ICredentials credentials, IAsyncWorker worker ) : System
serverUri string
credentials ICredentials
worker IAsyncWorker
return System

ServerProxy() public method

public ServerProxy ( string webAddress, string userName, string password ) : System
webAddress string
userName string
password string
return System

StartAutoConnect() public method

public StartAutoConnect ( ) : void
return void

Verify() public method

public Verify ( Action callback, bool wait = true ) : void
callback Action
wait bool
return void