C# Class JSIL.Try.SnippetCompiler

Show file 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 static property

public static AssemblyCache AssemblyCache
return AssemblyCache

CachedTypeInfo public static property

public static ThreadLocal CachedTypeInfo
return ThreadLocal

NextDomainId public static property

public static int NextDomainId
return int

NextTempDirId public static property

public static int NextTempDirId
return int

PendingCompiles public static property

public static int PendingCompiles
return int