Partilhar via


RoslynCompilationContext(CSharpCompilation) Construtor

Definição

Constrói uma nova instância do RoslynCompilationContext tipo .

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)

Parâmetros

compilation
CSharpCompilation

CSharpCompilation a ser definido como Compilation propriedade.

Aplica-se a