C# Класс Microsoft.R.Host.Broker.Sessions.SessionManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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