Partager via


ApplicationPartFactory.GetApplicationPartFactory(Assembly) Méthode

Définition

Obtient le ApplicationPartFactory pour l’assembly spécifié.

Un assembly peut spécifier un à l’aide de ApplicationPartFactoryProvideApplicationPartFactoryAttribute. Sinon, DefaultApplicationPartFactory est utilisé.

public:
 static Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPartFactory ^ GetApplicationPartFactory(System::Reflection::Assembly ^ assembly);
public static Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory GetApplicationPartFactory (System.Reflection.Assembly assembly);
static member GetApplicationPartFactory : System.Reflection.Assembly -> Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory
Public Shared Function GetApplicationPartFactory (assembly As Assembly) As ApplicationPartFactory

Paramètres

assembly
Assembly

L’Assemblyopérateur

Retours

Instance de ApplicationPartFactory.

S’applique à