C# Class JSIL.Try.SnippetCompiler

显示文件 Open project: sq/JSIL

Public Properties

Property Type Description
AssemblyCache AssemblyCache
CachedTypeInfo ThreadLocal
NextDomainId int
NextTempDirId int
PendingCompiles int

Public Methods

Method Description
Compile ( string csharp, bool deleteTempFiles ) : CompiledSnippet

Compiles the provided C# and then translates it into JavaScript. On success, returns the JS. On failure, throws.

Private Methods

Method Description
CompileAssembly ( string tempPath, string csharp, string &compilerOutput, string &resultPath, string &resultFullName, string &entryPoint ) : void

Method Details

Compile() public static method

Compiles the provided C# and then translates it into JavaScript. On success, returns the JS. On failure, throws.
public static Compile ( string csharp, bool deleteTempFiles ) : CompiledSnippet
csharp string
deleteTempFiles bool
return CompiledSnippet

Property Details

AssemblyCache public_oe static_oe property

public static AssemblyCache AssemblyCache
return AssemblyCache

CachedTypeInfo public_oe static_oe property

public static ThreadLocal CachedTypeInfo
return ThreadLocal

NextDomainId public_oe static_oe property

public static int NextDomainId
return int

NextTempDirId public_oe static_oe property

public static int NextTempDirId
return int

PendingCompiles public_oe static_oe property

public static int PendingCompiles
return int