Compartir a través de


ApplicationPartFactory.GetApplicationPartFactory(Assembly) Método

Definición

Obtiene para ApplicationPartFactory el ensamblado especificado.

Un ensamblado puede especificar un ApplicationPartFactory mediante ProvideApplicationPartFactoryAttribute. De lo contrario, DefaultApplicationPartFactory se usa .

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

Parámetros

assembly
Assembly

Assembly.

Devoluciones

Instancia de ApplicationPartFactory.

Se aplica a