C# 클래스 Microsoft.R.Host.Broker.Sessions.SessionManager

파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
BlockSessionsCreationForUser ( IIdentity user, bool terminateSession ) : IDisposable
CreateSession ( IIdentity user, string id, Interpreter interpreter, SecureString password, string profilePath, string commandLineArguments ) : Session
GetSession ( IIdentity user, string id ) : Session
GetSessions ( IIdentity user ) : IEnumerable
GetUsers ( ) : IEnumerable

비공개 메소드들

메소드 설명
GetOrCreateSessionList ( IIdentity user ) : List
SessionManager ( InterpreterManager interpManager, IOptions loggingOptions, ILogger sessionLogger, ILogger messageLogger, ILogger hostOutputLogger ) : System
Session_StateChanged ( object sender, SessionStateChangedEventArgs e ) : void
UnblockSessionCreationForUser ( IIdentity user ) : void

메소드 상세

BlockSessionsCreationForUser() 공개 메소드

public BlockSessionsCreationForUser ( IIdentity user, bool terminateSession ) : IDisposable
user IIdentity
terminateSession bool
리턴 IDisposable

CreateSession() 공개 메소드

public CreateSession ( IIdentity user, string id, Interpreter interpreter, SecureString password, string profilePath, string commandLineArguments ) : Session
user IIdentity
id string
interpreter Microsoft.R.Host.Broker.Interpreters.Interpreter
password System.Security.SecureString
profilePath string
commandLineArguments string
리턴 Session

GetSession() 공개 메소드

public GetSession ( IIdentity user, string id ) : Session
user IIdentity
id string
리턴 Session

GetSessions() 공개 메소드

public GetSessions ( IIdentity user ) : IEnumerable
user IIdentity
리턴 IEnumerable

GetUsers() 공개 메소드

public GetUsers ( ) : IEnumerable
리턴 IEnumerable