Freigeben über


DefaultApplicationPartFactory.GetDefaultApplicationParts(Assembly) Methode

Definition

Ruft die Sequenz der ApplicationPart Instanzen ab, die von diesem instance von DefaultApplicationPartFactoryerstellt werden.

Anwendungen können diese Methode verwenden, um dasselbe Verhalten zu erhalten, das diese Factory während der Standardteilermittlung von MVC erzeugt.

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)

Parameter

assembly
Assembly

Die Assembly.

Gibt zurück

Die Sequenz der ApplicationPart Instanzen.

Gilt für: