Dela via


RoslynCompilationContext(CSharpCompilation) Constructor

Definition

Constructs a new instance of the RoslynCompilationContext type.

public:
 RoslynCompilationContext(Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ compilation);
public RoslynCompilationContext (Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation);
new Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext : Microsoft.CodeAnalysis.CSharp.CSharpCompilation -> Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext
Public Sub New (compilation As CSharpCompilation)

Parameters

compilation
CSharpCompilation

CSharpCompilation to be set to Compilation property.

Applies to