اقرأ باللغة الإنجليزية

مشاركة عبر


ApplicationPartAttribute Class

Definition

Specifies an assembly to be added as an ApplicationPart.

In the ordinary case, MVC will generate ApplicationPartAttribute instances on the entry assembly for each dependency that references MVC. Each of these assemblies is treated as an ApplicationPart.

C#
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class ApplicationPartAttribute : Attribute
Inheritance
ApplicationPartAttribute
Attributes

Constructors

Properties

AssemblyName

Gets the assembly name.

Applies to

منتج الإصدارات
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0