ApplicationPartFactory Class
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.
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 |