RazorViewEngineOptions.CompilationCallback Eigenschaft

Definition

Achtung

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

Ruft den Rückruf ab, der zum Anpassen der Razor-Kompilierung zum Ändern der Kompilierungseinstellungen verwendet wird, die Sie aktualisieren Compilation können, oder legt diesen fest.

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)

Eigenschaftswert

Attribute

Hinweise

Anpassungen, die hier vorgenommen werden, spiegeln sich nicht in Tools (IntelliSense) wider.

Gilt für: