Click or drag to resize

ITypeParameters Interface

This interface is implemented by all code objects that have TypeParameters (TypeDecl, GenericMethodDecl).

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public interface ITypeParameters

The ITypeParameters type exposes the following members.

Properties
  NameDescription
Public propertyConstraintClauses
The list of ConstraintClauses.
Public propertyHasConstraintClauses
True if there are any ConstraintClauses.
Public propertyHasTypeParameters
True if there are any TypeParameters.
Public propertyTypeParameterCount
The number of TypeParameters.
Public propertyTypeParameters
The list of TypeParameters.
Top
Methods
  NameDescription
Public methodAddConstraintClauses
Add one or more ConstraintClauses.
Public methodAddTypeParameters
Add one or more TypeParameters.
Public methodCreateConstraintClauses
Create the list of ConstraintClauses, or return the existing one.
Public methodCreateTypeParameters
Create the list of TypeParameters, or return the existing one.
Public methodDoTypeArgumentCountsMatch
Determine if the type argument counts match those in the specified UnresolvedRef.
Public methodGetTypeParameterConstraints
Get any constraints for the specified TypeParameter.
Top
See Also