共用方式為


DefaultViewComponentSelector 建構函式

定義

public:
 DefaultViewComponentSelector(Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentDescriptorCollectionProvider ^ descriptorProvider);
public DefaultViewComponentSelector (Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider descriptorProvider);
new Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentSelector : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider -> Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentSelector
Public Sub New (descriptorProvider As IViewComponentDescriptorCollectionProvider)

參數

適用於