Dela via


CompiledRazorAssemblyApplicationPartFactory Class

Definition

Configures an assembly as a CompiledRazorAssemblyPart.

public ref class CompiledRazorAssemblyApplicationPartFactory : Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPartFactory
public class CompiledRazorAssemblyApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory
type CompiledRazorAssemblyApplicationPartFactory = class
    inherit ApplicationPartFactory
Public Class CompiledRazorAssemblyApplicationPartFactory
Inherits ApplicationPartFactory
Inheritance
CompiledRazorAssemblyApplicationPartFactory

Constructors

CompiledRazorAssemblyApplicationPartFactory()

Methods

GetApplicationParts(Assembly)

Gets one or more ApplicationPart instances for the specified assembly.

GetDefaultApplicationParts(Assembly)

Gets the sequence of ApplicationPart instances that are created by this instance of DefaultApplicationPartFactory.

Applications may use this method to get the same behavior as this factory produces during MVC's default part discovery.

Applies to