DefaultApplicationPartFactory.GetDefaultApplicationParts(Assembly) Metoda

Definice

Získá posloupnost ApplicationPart instancí, které jsou vytvořeny touto instancí DefaultApplicationPartFactory.

Aplikace mohou tuto metodu použít k získání stejného chování jako tato továrna vytváří během výchozího zjišťování částí MVC.

public:
 static System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPart ^> ^ GetDefaultApplicationParts(System::Reflection::Assembly ^ assembly);
public static System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> GetDefaultApplicationParts (System.Reflection.Assembly assembly);
static member GetDefaultApplicationParts : System.Reflection.Assembly -> seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>
Public Shared Iterator Function GetDefaultApplicationParts (assembly As Assembly) As IEnumerable(Of ApplicationPart)
Public Shared Function GetDefaultApplicationParts (assembly As Assembly) As IEnumerable(Of ApplicationPart)

Parametry

assembly
Assembly

Hodnota Assembly

Návraty

IEnumerable<ApplicationPart>

Posloupnost ApplicationPart instancí.

Platí pro