다음을 통해 공유


RoslynCompilationContext(CSharpCompilation) 생성자

정의

형식의 새 instance 생성합니다RoslynCompilationContext.

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)

매개 변수

compilation
CSharpCompilation

CSharpCompilation 속성으로 설정할 수 있습니다 Compilation .

적용 대상