Freigeben über


RelatedAssemblyAttribute Class

Definition

Specifies a assembly to load as part of MVC's assembly discovery mechanism.

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

Constructors

RelatedAssemblyAttribute(String)

Initializes a new instance of RelatedAssemblyAttribute.

Properties

AssemblyFileName

Gets the assembly file name without extension.

Methods

GetRelatedAssemblies(Assembly, Boolean)

Gets Assembly instances specified by RelatedAssemblyAttribute.

Applies to