Dela via


NullApplicationPartFactory Class

Definition

An ApplicationPartFactory that produces no parts.

This factory may be used to to preempt Mvc's default part discovery allowing for custom configuration at a later stage.

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

Constructors

NullApplicationPartFactory()

Methods

GetApplicationParts(Assembly)

Gets one or more ApplicationPart instances for the specified assembly.

Applies to