CascadingTypeParameterAttribute Class

Definition

Denotes the generic type parameter as cascading. This allows generic type inference to use this type parameter value automatically on descendants that also have a type parameter with the same name.

[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
Inheritance
CascadingTypeParameterAttribute
Attributes

Constructors

CascadingTypeParameterAttribute(String)

Constructs an instance of CascadingTypeParameterAttribute.

Properties

Name

Gets the name of the type parameter.

Applies to