Share via


ApplicationPartFactory Class

Definition

Specifies a contract for synthesizing one or more ApplicationPart instances from an Assembly.

By default, Mvc registers each application assembly that it discovers as an AssemblyPart. Assemblies can optionally specify an ApplicationPartFactory to configure parts for the assembly by using ProvideApplicationPartFactoryAttribute.

public ref class ApplicationPartFactory abstract
public abstract class ApplicationPartFactory
type ApplicationPartFactory = class
Public MustInherit Class ApplicationPartFactory
Inheritance
ApplicationPartFactory
Derived

Constructors

ApplicationPartFactory()

Methods

GetApplicationPartFactory(Assembly)

Gets the ApplicationPartFactory for the specified assembly.

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

GetApplicationParts(Assembly)

Gets one or more ApplicationPart instances for the specified assembly.

Applies to