Dela via


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.

public ref class ApplicationPartAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class ApplicationPartAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type ApplicationPartAttribute = class
    inherit Attribute
Public NotInheritable Class ApplicationPartAttribute
Inherits Attribute
Inheritance
ApplicationPartAttribute
Attributes

Constructors

ApplicationPartAttribute(String)

Initializes a new instance of ApplicationPartAttribute.

Properties

AssemblyName

Gets the assembly name.

Applies to