Sdílet prostřednictvím


CascadingTypeParameterAttribute Třída

Definice

Označuje parametr obecného typu jako kaskádový. To umožňuje odvozovat obecný typ tuto hodnotu parametru typu automaticky u potomků, kteří mají také parametr typu se stejným názvem.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class CascadingTypeParameterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type CascadingTypeParameterAttribute = class
    inherit Attribute
Public NotInheritable Class CascadingTypeParameterAttribute
Inherits Attribute
Dědičnost
CascadingTypeParameterAttribute
Atributy

Konstruktory

CascadingTypeParameterAttribute(String)

Vytvoří instanci objektu CascadingTypeParameterAttribute.

Vlastnosti

Name

Získá název parametru typu.

Platí pro