Compartir a través de


RoslynCompilationContext(CSharpCompilation) Constructor

Definición

Construye una nueva instancia del 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 que se va a establecer en Compilation property.

Se aplica a