C# 클래스 Microsoft.R.Components.ConnectionManager.Implementation.ConnectionManager

상속: IConnectionManager
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
AddOrUpdateConnection ( string name, string path, string rCommandLineArguments, bool isUserCreated ) : IConnection
ConnectAsync ( IConnectionInfo connection, CancellationToken cancellationToken = default(CancellationToken) ) : Task
ConnectionManager ( IStatusBar statusBar, IRSettings settings, IRInteractiveWorkflow interactiveWorkflow ) : System
Dispose ( ) : void
GetOrAddConnection ( string name, string path, string rCommandLineArguments, bool isUserCreated ) : IConnection
GetOrCreateVisualComponent ( int instanceId ) : IConnectionManagerVisualComponent
ReconnectAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
TestConnectionAsync ( IConnectionInfo connection, CancellationToken cancellationToken = default(CancellationToken) ) : Task
TryConnectToPreviouslyUsedAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
TryRemove ( string name ) : bool

비공개 메소드들

메소드 설명
ActiveWindowChanged ( object sender, ActiveWindowChangedEventArgs eventArgs ) : void
AddToStatusBar ( FrameworkElement element, object dataContext ) : void
BrokerStateChanged ( object sender, BrokerStateChangedEventArgs eventArgs ) : void
CompleteInitializationAsync ( ) : Task
CreateConnection ( string name, string path, string rCommandLineArguments, bool isUserCreated ) : IConnection
CreateConnectionList ( ) : IConnection>.Dictionary
GetConnectionsFromSettings ( ) : IConnection>.Dictionary
GetOrCreateConnection ( string name, string path, string rCommandLineArguments, bool isUserCreated ) : IConnection
IsRemoteConnection ( string path ) : bool
IsValidLocalConnection ( string name, string path ) : bool
PickBestLocalRConnection ( ICollection connections, ICollection localEngines ) : IConnection
SaveActiveConnectionToSettings ( ) : void
SaveConnectionsToSettings ( ) : void
TrySwitchBrokerAsync ( IConnection connection, CancellationToken cancellationToken = default(CancellationToken) ) : Task
TrySwitchBrokerAsync ( IConnectionInfo info, CancellationToken cancellationToken = default(CancellationToken) ) : Task
UpdateActiveConnection ( ) : void
UpdateConnectionFactory ( IConnection oldConnection, IConnection newConnection ) : IConnection
UpdateRecentConnections ( bool save = true ) : void

메소드 상세

AddOrUpdateConnection() 공개 메소드

public AddOrUpdateConnection ( string name, string path, string rCommandLineArguments, bool isUserCreated ) : IConnection
name string
path string
rCommandLineArguments string
isUserCreated bool
리턴 IConnection

ConnectAsync() 공개 메소드

public ConnectAsync ( IConnectionInfo connection, CancellationToken cancellationToken = default(CancellationToken) ) : Task
connection IConnectionInfo
cancellationToken System.Threading.CancellationToken
리턴 Task

ConnectionManager() 공개 메소드

public ConnectionManager ( IStatusBar statusBar, IRSettings settings, IRInteractiveWorkflow interactiveWorkflow ) : System
statusBar IStatusBar
settings IRSettings
interactiveWorkflow IRInteractiveWorkflow
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetOrAddConnection() 공개 메소드

public GetOrAddConnection ( string name, string path, string rCommandLineArguments, bool isUserCreated ) : IConnection
name string
path string
rCommandLineArguments string
isUserCreated bool
리턴 IConnection

GetOrCreateVisualComponent() 공개 메소드

public GetOrCreateVisualComponent ( int instanceId ) : IConnectionManagerVisualComponent
instanceId int
리턴 IConnectionManagerVisualComponent

ReconnectAsync() 공개 메소드

public ReconnectAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task

TestConnectionAsync() 공개 메소드

public TestConnectionAsync ( IConnectionInfo connection, CancellationToken cancellationToken = default(CancellationToken) ) : Task
connection IConnectionInfo
cancellationToken System.Threading.CancellationToken
리턴 Task

TryConnectToPreviouslyUsedAsync() 공개 메소드

public TryConnectToPreviouslyUsedAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task

TryRemove() 공개 메소드

public TryRemove ( string name ) : bool
name string
리턴 bool