RazorConfigurationNameAttribute 類別

定義

指定 Razor SDK 所定義的 Razor 組態名稱。

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
繼承
RazorConfigurationNameAttribute
屬性

備註

此屬性會在建置期間由 Razor SDK 套用至應用程式的進入點元件,以便根據專案檔所提供的設定,在執行時間載入 Razor 組態。

建構函式

RazorConfigurationNameAttribute(String)

建立 RazorConfigurationNameAttribute 的新執行個體。

屬性

ConfigurationName

取得 Razor 組態的名稱。

適用於