C# 클래스 Rosetta.ScriptSharp.Definition.AST.ProgramWrapper

Acts like a wrapper for ProgramDefinitionASTWalker in order to provide an easy interface for converting C# code.
파일 보기 프로젝트 열기: andry-tino/Rosetta 1 사용 예제들

공개 메소드들

메소드 설명
ProgramWrapper ( string source, string assemblyPath = null ) : System

Initializes a new instance of the ProgramWrapper class.

비공개 메소드들

메소드 설명
GetCompilation ( string path, CSharpSyntaxTree sourceTree ) : Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Initialize ( ) : void
ValidatePaths ( string paths, string argumentName, string message ) : void

메소드 상세

ProgramWrapper() 공개 메소드

Initializes a new instance of the ProgramWrapper class.
public ProgramWrapper ( string source, string assemblyPath = null ) : System
source string The source code
assemblyPath string The path to assembly for semantic model
리턴 System