TypeParameter Class

Represents a generic type parameter declaration.

public class TypeParameter : CodeObject
Inheritance
CodeObject TypeParameter

Constructors

NameDescription
TypeParameter()
TypeParameter(string?)

TypeParameter overloads

TypeParameter()

TypeParameter.cs
public TypeParameter()

No documentation is available.

TypeParameter(string?)

TypeParameter.cs
public TypeParameter(string? name)
Parameters
name string?

No documentation is available.

Properties

NameDescription
Constraints
Name

Constraints

TypeParameter.cs
public TypeParameterConstraintCollection Constraints { get; }

No documentation is available.

public string? Name { get; set; }

Property value

string?

No documentation is available.