DefaultPageHandlerMethodSelector 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DefaultPageHandlerMethodSelector() |
已过时.
|
DefaultPageHandlerMethodSelector(IOptions<RazorPagesOptions>) |
DefaultPageHandlerMethodSelector()
注意
This constructor will be removed in a future release. Use the other constructor.
public:
DefaultPageHandlerMethodSelector();
public DefaultPageHandlerMethodSelector ();
[System.Obsolete("This constructor will be removed in a future release. Use the other constructor.")]
public DefaultPageHandlerMethodSelector ();
Public Sub New ()
- 属性
适用于
DefaultPageHandlerMethodSelector(IOptions<RazorPagesOptions>)
public:
DefaultPageHandlerMethodSelector(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::RazorPages::RazorPagesOptions ^> ^ options);
public DefaultPageHandlerMethodSelector (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> options);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageHandlerMethodSelector : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageHandlerMethodSelector
Public Sub New (options As IOptions(Of RazorPagesOptions))
参数
- options
- IOptions<RazorPagesOptions>