Condividi tramite


RazorViewEngineOptions.CompilationCallback Proprietà

Definizione

Attenzione

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

Ottiene o imposta il callback utilizzato per personalizzare la compilazione Razor per modificare le impostazioni di compilazione che è possibile aggiornare Compilation la proprietà.

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)

Valore della proprietà

Attributi

Commenti

Le personalizzazioni effettuate qui non riflettono gli strumenti (IntelliSense).

Si applica a