Property | Type | Description | |
---|---|---|---|
lastException |
Method | Description | |
---|---|---|
AddReferencedAssemblies ( |
||
CSExecutor ( ) : System |
Constructor
|
|
CSExecutor ( bool rethrow, |
Constructor
|
|
Compile ( string scriptFile, string assemblyFile, bool debugBuild ) : string |
Compiles C# script file into assembly.
|
|
CreateDefaultConfigFile ( ) : void |
Creates the default config file in the CurrentDirectory.
|
|
DoCacheOperations ( string command ) : void |
Performs the cache operations and shows the operation output.
|
|
Execute ( string args, PrintDelegate printDelg, string primaryScript ) : void |
The main entry point for the application.
|
|
ExecuteImpl ( ) : void |
This method implements compiling and execution of the script.
|
|
GetCacheDirectory ( string file ) : string |
Generates the name of the cache directory for the specified script file.
|
|
GetOptions ( ) : |
||
GetScriptTempDir ( ) : string |
Returns the name of the temporary folder in the CSSCRIPT subfolder of Path.GetTempPath(). Under certain circumstances it may be desirable to the use the alternative location for the CS-Script temporary files. In such cases use SetScriptTempDir() to set the alternative location.
|
|
GetScriptTempFile ( ) : string |
Returns the name of the temporary file in the CSSCRIPT subfolder of Path.GetTempPath().
|
|
ProcessCompilingResult ( |
||
SetScriptCacheDir ( string scriptFile ) : void |
Generates the name of the temporary cache folder in the CSSCRIPT subfolder of Path.GetTempPath(). The cache folder is specific for every script file.
|
|
SetScriptTempDir ( string path ) : void |
Sets the location for the CS-Script temporary files directory.
|
|
ShowHelp ( ) : void |
Prints Help info.
|
|
ShowPrecompilerSample ( ) : void |
Show sample precompiler C# script file.
|
|
ShowSample ( ) : void |
Show sample C# script file.
|
|
ShowVersion ( ) : void |
Show CS-Script version information.
|
Method | Description | |
---|---|---|
AggregateReferencedAssemblies ( CSScriptLibrary.ScriptParser parser ) : string[] | ||
CoInitializeSecurity ( |
||
ComInitSecurity ( int RpcImpLevel, int EoAuthnCap ) : void | ||
Compile ( string scriptFileName ) : string |
Compiles C# script file.
|
|
CompileAssembly ( ICodeCompiler compiler, |
||
GetAvailableAssembly ( string scripFileName ) : string |
Checks/returns if compiled C# script file (ScriptName + ".compiled") available and valid.
|
|
GetCustomAppConfig ( string args ) : string |
Returns custom application config file.
|
|
GetPersistedSettings ( |
||
GetPersistedSettings ( List |
||
GetScriptTempFile ( string subDir ) : string | ||
GetTempFileName ( string lpPathName, string lpPrefixString, uint uUnique, [ lpTempFileName ) : uint | ||
LoadCompiler ( string scriptFileName, string &filesToInject ) : ICodeCompiler | ||
LoadDefaultCompiler ( ) : ICodeCompiler | ||
NormalizeGacAssemblyPath ( string asm ) : string | ||
SaveDebuggingMetadata ( string scriptFile ) : void | ||
SetEnvironmentVariable ( string lpName, string lpValue ) : bool | ||
VoidPrint ( string msg ) : void |
Dummy 'print' to suppress displaying application messages.
|
public AddReferencedAssemblies ( |
||
compilerParams | ||
scriptFileName | string | |
parser | CSScriptLibrary.ScriptParser | |
return | void |
public CSExecutor ( bool rethrow, |
||
rethrow | bool | |
optionsBase | ||
return | System |
public Compile ( string scriptFile, string assemblyFile, bool debugBuild ) : string | ||
scriptFile | string | |
assemblyFile | string | |
debugBuild | bool | |
return | string |
public DoCacheOperations ( string command ) : void | ||
command | string | The command. |
return | void |
public Execute ( string args, PrintDelegate printDelg, string primaryScript ) : void | ||
args | string | |
printDelg | PrintDelegate | |
primaryScript | string | |
return | void |
public static GetCacheDirectory ( string file ) : string | ||
file | string | Script file name. |
return | string |
public ProcessCompilingResult ( |
||
results | ||
compilerParams | ||
parser | CSScriptLibrary.ScriptParser | |
scriptFileName | string | |
assemblyFileName | string | |
additionalDependencies | string | |
return | void |
static public SetScriptCacheDir ( string scriptFile ) : void | ||
scriptFile | string | script file |
return | void |
static public SetScriptTempDir ( string path ) : void | ||
path | string | The path for the temporary directory. |
return | void |