Interface ICsGenericParameter
Model contract for information about a parameter used in a generic definition.
Inherited Members
Namespace: CodeFactory.DotNet.CSharp
Assembly: CodeFactory.DotNet.dll
Syntax
public interface ICsGenericParameter : ICsModel, IDotNetGenericParameter, IDotNetModel, IModelStatus
Properties
| Improve this Doc View SourceConstrainingTypes
The constraining types the generic parameter must ad hear to. If there are no constraining types an empty list will be returned.
Declaration
IReadOnlyList<CsType> ConstrainingTypes { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<CsType> |
Type
The type definition of the generic parameter.
Declaration
CsType Type { get; }
Property Value
Type | Description |
---|---|
CsType |