MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Method
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.
Adds an ApplicationPart to the list of ApplicationParts on the PartManager.
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddApplicationPart (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Reflection.Assembly assembly);
static member AddApplicationPart : Microsoft.Extensions.DependencyInjection.IMvcBuilder * System.Reflection.Assembly -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddApplicationPart (builder As IMvcBuilder, assembly As Assembly) As IMvcBuilder
Parameters
- builder
- IMvcBuilder
The IMvcBuilder.
- assembly
- Assembly
The Assembly of the ApplicationPart.
Returns
The IMvcBuilder.