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


RazorLanguageVersionAttribute Class

Definition

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

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

Remarks

This attribute is part of a set of metadata attributes that can be applied to an assembly at build time by the Razor SDK. These attributes allow the Razor configuration to be loaded at runtime based on the settings originally provided by the project file.

Constructors

RazorLanguageVersionAttribute(String)

Creates a new instance of RazorLanguageVersionAttribute.

Properties

LanguageVersion

Gets the Razor language version.

Applies to