C# Class TeamMentor.CoreLib.TBot_Brain

Datei anzeigen Open project: TeamMentor/Master Class Usage Examples

Public Properties

Property Type Description
TBOT_MAIN_HTML_PAGE string
TBOT_SCRIPTS_FOLDER string

Public Methods

Method Description
Create ( ) : TBot_Brain
ExecuteRazorPage ( string page ) : string
GetHtml ( string content ) : Stream
GetHtml ( string content, bool htmlEncode, double executionTime ) : Stream
Json ( string page ) : Stream
List ( ) : Stream
Render ( string page ) : Stream
Run ( string page ) : Stream
SetAvailableScripts ( ) : string>.Dictionary
TBotScriptsFiles ( ) : List
TBot_Brain ( TM_REST tmRest ) : System
availableScripts ( ) : string>.Dictionary
checkIfUserIsAdmin ( ) : void
user_CsrfToken ( ) : string
user_SessionId ( ) : System.Guid

Private Methods

Method Description
TBot_Brain ( ) : System

Method Details

Create() public static method

public static Create ( ) : TBot_Brain
return TBot_Brain

ExecuteRazorPage() public method

public ExecuteRazorPage ( string page ) : string
page string
return string

GetHtml() public method

public GetHtml ( string content ) : Stream
content string
return Stream

GetHtml() public method

public GetHtml ( string content, bool htmlEncode, double executionTime ) : Stream
content string
htmlEncode bool
executionTime double
return Stream

Json() public method

public Json ( string page ) : Stream
page string
return Stream

List() public method

public List ( ) : Stream
return Stream

Render() public method

public Render ( string page ) : Stream
page string
return Stream

Run() public method

public Run ( string page ) : Stream
page string
return Stream

SetAvailableScripts() public static method

public static SetAvailableScripts ( ) : string>.Dictionary
return string>.Dictionary

TBotScriptsFiles() public static method

public static TBotScriptsFiles ( ) : List
return List

TBot_Brain() public method

public TBot_Brain ( TM_REST tmRest ) : System
tmRest TM_REST
return System

availableScripts() public method

public availableScripts ( ) : string>.Dictionary
return string>.Dictionary

checkIfUserIsAdmin() public method

public checkIfUserIsAdmin ( ) : void
return void

user_CsrfToken() public method

public user_CsrfToken ( ) : string
return string

user_SessionId() public method

public user_SessionId ( ) : System.Guid
return System.Guid

Property Details

TBOT_MAIN_HTML_PAGE public_oe static_oe property

public static string TBOT_MAIN_HTML_PAGE
return string

TBOT_SCRIPTS_FOLDER public_oe static_oe property

public static string TBOT_SCRIPTS_FOLDER
return string