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.

C#
public class NullApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory
Inheritance
NullApplicationPartFactory

Constructors

Methods

GetApplicationParts(Assembly)

Gets one or more ApplicationPart instances for the specified assembly.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0