共用方式為


CompiledRazorAssemblyApplicationPartFactory.GetApplicationParts 方法

定義

取得指定 assembly 之 的一或多個 ApplicationPart 實例。

public:
 override System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPart ^> ^ GetApplicationParts(System::Reflection::Assembly ^ assembly);
public override System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> GetApplicationParts (System.Reflection.Assembly assembly);
override this.GetApplicationParts : System.Reflection.Assembly -> seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>
Public Overrides Function GetApplicationParts (assembly As Assembly) As IEnumerable(Of ApplicationPart)

參數

assembly
Assembly

Assembly

傳回

適用於