OptionsContextAttribute クラス

定義

注釈付き型の IOptionsContext の実装を生成します。

public ref class OptionsContextAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)]
[System.Diagnostics.Conditional("CODE_GENERATION_ATTRIBUTES")]
public sealed class OptionsContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)>]
[<System.Diagnostics.Conditional("CODE_GENERATION_ATTRIBUTES")>]
type OptionsContextAttribute = class
    inherit Attribute
Public NotInheritable Class OptionsContextAttribute
Inherits Attribute
継承
OptionsContextAttribute
属性

コンストラクター

名前 説明
OptionsContextAttribute()

注釈付き型の IOptionsContext の実装を生成します。

適用対象