Megosztás a következőn keresztül:


RazorExtensionAssemblyNameAttribute Class

Definition

Specifies the name of a Razor extension as defined by the Razor SDK.

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

Remarks

This attribute is applied to an application's entry point assembly by the Razor SDK during the build, so that the Razor configuration can be loaded at runtime based on the settings provided by the project file.

Constructors

RazorExtensionAssemblyNameAttribute(String, String)

Creates a new instance of RazorExtensionAssemblyNameAttribute.

Properties

AssemblyName

Gets the assembly name of the extension.

ExtensionName

Gets the name of the extension.

Applies to