Bagikan melalui


RouteTokenTransformerConvention.ShouldApply(ActionModel) Metode

Definisi

Dipanggil untuk menentukan apakah tindakan harus diterapkan.

protected:
 virtual bool ShouldApply(Microsoft::AspNetCore::Mvc::ApplicationModels::ActionModel ^ action);
protected virtual bool ShouldApply (Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action);
abstract member ShouldApply : Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel -> bool
override this.ShouldApply : Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel -> bool
Protected Overridable Function ShouldApply (action As ActionModel) As Boolean

Parameter

Mengembalikan

true jika tindakan harus berlaku.

Berlaku untuk