C# Class NArrange.Core.CodeElements.TypeParameter

Type parameter definition for generic types.
Inheritance: ICloneable
Show file Open project: MarcStan/NArrange Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

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

Clone() public method

Creates a clone of this instance.
public Clone ( ) : object
return object

TypeParameter() public method

Creates a new TypeParameter.
public TypeParameter ( ) : System
return System

TypeParameter() public method

Creates a new TypeParameter.
public TypeParameter ( string name ) : System
name string The type parameter name.
return System