RazorPagesOptions.Conventions 属性

定义

获取在路由和页面模型构造期间应用的实例集合 IPageConvention

public:
 property Microsoft::AspNetCore::Mvc::ApplicationModels::PageConventionCollection ^ Conventions { Microsoft::AspNetCore::Mvc::ApplicationModels::PageConventionCollection ^ get(); };
public Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection Conventions { get; }
member this.Conventions : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
Public ReadOnly Property Conventions As PageConventionCollection

属性值

适用于