Compartilhar via


ApplicationPartFactory.GetApplicationPartFactory(Assembly) Método

Definição

Obtém o ApplicationPartFactory para o assembly especificado.

Um assembly pode especificar um ApplicationPartFactory usando ProvideApplicationPartFactoryAttribute. Caso contrário, DefaultApplicationPartFactory será usado.

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

O Assembly.

Retornos

Uma instância de ApplicationPartFactory.

Aplica-se a