Table of Contents

Class FileData

Namespace
CSharpToJavaScript
Assembly
CSharpToJavaScript.dll

FileData includes a CSharp string, options, and a JavaScript string.

public class FileData
Inheritance
FileData
Inherited Members

Constructors

FileData()

public FileData()

Properties

DebugStrings

Debug strings. 0: WithSemanticWalker 1: WithoutSemanticRewriter

public string[] DebugStrings { get; set; }

Property Value

string[]

FileName

Full JS filename. Needed for modules.

public string FileName { get; set; }

Property Value

string

OptionsForFile

Options for a translation.

public CSTOJSOptions OptionsForFile { get; set; }

Property Value

CSTOJSOptions

SourceStr

CS input string.

public string SourceStr { get; set; }

Property Value

string

TranslatedStr

JS translated string.

public string TranslatedStr { get; set; }

Property Value

string