메소드 | 설명 | |
---|---|---|
InteractiveExecution ( ) : System |
Initializes a new instance of the InteractiveExecution class.
|
|
Interpret ( string code, string prompt = "" ) : void |
Interprets C# code.
|
|
Run ( ) : void |
Runs interactive scripting mode.
|
메소드 | 설명 | |
---|---|---|
Count ( string str, string find ) : int |
Counts the number of occurrences in the specified string.
|
|
Execute ( string code ) : void |
Executes the specified code.
|
|
ExtractImportedCode ( Script script, string previousImportedCode ) : string |
Extracts the imported code (functions and classes) from the specified script.
|
|
FixImportedCode ( string importedCode ) : string | ||
GenerateCode ( string code, IEnumerable |
||
GetCodeName ( |
||
GetScriptHelperCode ( string &scriptStart, string &scriptEnd ) : IEnumerable |
||
IsCompleteSubmission ( string text ) : bool | ||
ReadCommand ( string prompt ) : string |
Reads the command from the user.
|
|
UnsafeInterpret ( string code ) : void |
Interprets C# code, but without error handling.
|
|
UpdateReferences ( Script script, HashSet |
Updates the references from the specified script.
|
|
UpdateUsings ( Script script, HashSet |
Updates the list of using commands from the specified script.
|
public Interpret ( string code, string prompt = "" ) : void | ||
code | string | The C# code. |
prompt | string | The prompt. |
리턴 | void |