Dela via


ApplicationPartFactory.GetApplicationPartFactory(Assembly) Method

Definition

Gets the ApplicationPartFactory for the specified assembly.

An assembly may specify an ApplicationPartFactory using ProvideApplicationPartFactoryAttribute. Otherwise, DefaultApplicationPartFactory is used.

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

Parameters

assembly
Assembly

The Assembly.

Returns

An instance of ApplicationPartFactory.

Applies to