C# Класс Rosetta.ScriptSharp.Definition.AST.ProgramWrapper

Acts like a wrapper for ProgramDefinitionASTWalker in order to provide an easy interface for converting C# code.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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