Allows to complete the construction of a type parameter that has been created by an advice.
Namespace: Metalama.Framework.Code.DeclarationBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface ITypeParameterBuilder : IDeclarationBuilder, ITypeParameter, INamedDeclaration, IDeclaration, IDiagnosticLocation, IMeasurable, IEquatable<IDeclaration>, IType, ICompilationElement, IDisplayable, IEquatable<IType>Properties
| Name | Description |
|---|---|
| AllowsRefStruct | Gets or sets a value indicating whether the type parameter allows |
| HasDefaultConstructorConstraint | Gets or sets a value indicating whether the generic parameter has the |
| IsConstraintNullable | Gets or sets a value indicating whether the constraint type is nullable. |
| Name | Gets or sets the name of the type parameter. |
| TypeKindConstraint | Gets or sets the type kind constraint (e.g., |
| Variance | Gets or sets the variance kind (e.g., |
Methods
| Name | Description |
|---|---|
| AddTypeConstraint(IType) | Adds a type constraint to the type parameter. |
| AddTypeConstraint(Type) | Adds a type constraint to the type parameter. |