RazorConfigurationNameAttribute Class

Definition

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

public ref class RazorConfigurationNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
public sealed class RazorConfigurationNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)>]
type RazorConfigurationNameAttribute = class
    inherit Attribute
Public NotInheritable Class RazorConfigurationNameAttribute
Inherits Attribute
Inheritance
RazorConfigurationNameAttribute
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

RazorConfigurationNameAttribute(String)

Creates a new instance of RazorConfigurationNameAttribute.

Properties

ConfigurationName

Gets the name of the Razor configuration.

Applies to