C# Class NArrange.Core.CodeElements.TypeParameter

Type parameter definition for generic types.
Inheritance: ICloneable
Afficher le fichier Open project: MarcStan/NArrange Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddConstraint ( string constraint ) : void

Adds a constraint for the type parameter.

Clone ( ) : object

Creates a clone of this instance.

TypeParameter ( ) : System

Creates a new TypeParameter.

TypeParameter ( string name ) : System

Creates a new TypeParameter.

Method Details

AddConstraint() public méthode

Adds a constraint for the type parameter.
public AddConstraint ( string constraint ) : void
constraint string The constraint.
Résultat void

Clone() public méthode

Creates a clone of this instance.
public Clone ( ) : object
Résultat object

TypeParameter() public méthode

Creates a new TypeParameter.
public TypeParameter ( ) : System
Résultat System

TypeParameter() public méthode

Creates a new TypeParameter.
public TypeParameter ( string name ) : System
name string The type parameter name.
Résultat System