다음을 통해 공유


RazorViewEngineOptions.CompilationCallback 속성

정의

주의

This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.

속성을 업데이트 Compilation 할 수 있는 컴파일 설정을 변경하도록 Razor 컴파일을 사용자 지정하는 데 사용되는 콜백을 가져오거나 설정합니다.

public:
 property Action<Microsoft::AspNetCore::Mvc::Razor::Compilation::RoslynCompilationContext ^> ^ CompilationCallback { Action<Microsoft::AspNetCore::Mvc::Razor::Compilation::RoslynCompilationContext ^> ^ get(); void set(Action<Microsoft::AspNetCore::Mvc::Razor::Compilation::RoslynCompilationContext ^> ^ value); };
public Action<Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext> CompilationCallback { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.")]
public Action<Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext> CompilationCallback { get; set; }
member this.CompilationCallback : Action<Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext> with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.")>]
member this.CompilationCallback : Action<Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext> with get, set
Public Property CompilationCallback As Action(Of RoslynCompilationContext)

속성 값

특성

설명

여기서 만든 사용자 지정은 도구(Intellisense)에 반영되지 않습니다.

적용 대상