Bagikan melalui


PageViewLocationExpander Kelas

Definisi

IViewLocationExpander untuk PageView.

public ref class PageViewLocationExpander : Microsoft::AspNetCore::Mvc::Razor::IViewLocationExpander
public class PageViewLocationExpander : Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander
type PageViewLocationExpander = class
    interface IViewLocationExpander
Public Class PageViewLocationExpander
Implements IViewLocationExpander
Warisan
PageViewLocationExpander
Penerapan

Konstruktor

PageViewLocationExpander()

IViewLocationExpander untuk PageView.

Metode

ExpandViewLocations(ViewLocationExpanderContext, IEnumerable<String>)

Dipanggil oleh RazorViewEngine untuk menentukan lokasi potensial untuk tampilan.

PopulateValues(ViewLocationExpanderContext)

Dipanggil oleh RazorViewEngine untuk menentukan nilai yang akan dikonsumsi oleh instans ini dari IViewLocationExpander. Nilai terhitung digunakan untuk menentukan apakah lokasi tampilan telah berubah sejak terakhir kali berada.

Berlaku untuk