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>