Partilhar via


RazorViewEngineOptions.CompilationCallback Propriedade

Definição

Cuidado

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

Obtém ou define o retorno de chamada usado para personalizar a compilação do Razor para alterar as configurações de compilação que você pode atualizar Compilation a propriedade.

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)

Valor da propriedade

Atributos

Comentários

As personalizações feitas aqui não refletiriam nas ferramentas (IntelliSense).

Aplica-se a