ControllerFeatureProvider.PopulateFeature 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
feature
更新 實例。
public:
virtual void PopulateFeature(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPart ^> ^ parts, Microsoft::AspNetCore::Mvc::Controllers::ControllerFeature ^ feature);
public void PopulateFeature (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> parts, Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature feature);
abstract member PopulateFeature : seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> * Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature -> unit
override this.PopulateFeature : seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> * Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature -> unit
Public Sub PopulateFeature (parts As IEnumerable(Of ApplicationPart), feature As ControllerFeature)
參數
- parts
- IEnumerable<ApplicationPart>
應用程式中的 ApplicationPart 實例清單。
- feature
- ControllerFeature
要填入的功能實例。