Condividi tramite


RoslynCompilationContext(CSharpCompilation) Costruttore

Definizione

Costruisce una nuova istanza 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)

Parametri

compilation
CSharpCompilation

CSharpCompilation da impostare sulla Compilation proprietà .

Si applica a