OptionsContextAttribute Klass

Definition

Genererar en implementering av IOptionsContext för den kommenterade typen.

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
Arv
OptionsContextAttribute
Attribut

Konstruktorer

Name Description
OptionsContextAttribute()

Genererar en implementering av IOptionsContext för den kommenterade typen.

Gäller för