Sdílet prostřednictvím


SingletonAttribute Třída

Definice

Představuje vlastnost Attribute , která může být umístěna na vlastnost určit, že vlastnost musí vytvořit vazbu na jednoúčelový. Používá se v tvůrci modelů konvencí.

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class SingletonAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type SingletonAttribute = class
    inherit Attribute
Public NotInheritable Class SingletonAttribute
Inherits Attribute
Dědičnost
SingletonAttribute
Atributy

Konstruktory

SingletonAttribute()

Představuje vlastnost Attribute , která může být umístěna na vlastnost určit, že vlastnost musí vytvořit vazbu na jednoúčelový. Používá se v tvůrci modelů konvencí.

Platí pro