Table of Contents

Interface ICompilationFactory

Namespace
ProjGraph.Lib.Core.Abstractions
Assembly
ProjGraph.Lib.Core.dll

Defines a contract for creating Roslyn compilations.

public interface ICompilationFactory

Methods

CreateCompilation(IEnumerable<SyntaxTree>)

Creates a compilation for the specified syntax trees.

Compilation CreateCompilation(IEnumerable<SyntaxTree> syntaxTrees)

Parameters

syntaxTrees IEnumerable<SyntaxTree>

The syntax trees to compile.

Returns

Compilation

A Roslyn compilation object.