次の方法で共有


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 構成の名前を取得します。

適用対象