Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Code.​Declaration­Builders / IType­Parameter­Builder

Interface ITypeParameterBuilder

Namespace: Metalama.Framework.Code.DeclarationBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface ITypeParameterBuilder : IDeclarationBuilder, ITypeParameter, INamedDeclaration, IDeclaration, IDiagnosticLocation, IMeasurable, IType, ICompilationElement, IDisplayable

Properties

Name Description
HasDefaultConstructorConstraint

Gets or sets a value indicating whether the generic parameter has the new() constraint.

IsConstraintNullable
Name
TypeKindConstraint
Variance

Methods

Name Description
AddTypeConstraint(IType)
AddTypeConstraint(Type)