ApplicationPartFactory.GetApplicationPartFactory(Assembly) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
An instance of ApplicationPartFactory.