MvcCoreMvcCoreBuilderExtensions.AddApplicationPart 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.IMvcCoreBuilder AddApplicationPart (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, System.Reflection.Assembly assembly);
static member AddApplicationPart : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * System.Reflection.Assembly -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddApplicationPart (builder As IMvcCoreBuilder, assembly As Assembly) As IMvcCoreBuilder
Parameters
- builder
- IMvcCoreBuilder
The IMvcCoreBuilder.
- assembly
- Assembly
The Assembly of the ApplicationPart.
Returns
The IMvcCoreBuilder.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for