IGenericParametersProvider
Overview
A method or class that has generic parameters. This interface is implemented by IType and IMethod descendants, that provide a way of accessing generic types.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus
Properties
GenericParameterCount
Returns the number of generic parameters
property GenericParameterCount: Int32 read;
Int32 GenericParameterCount { get; }
var GenericParameterCount: Int32 { get{} }
Int32 GenericParameterCount { __get; }
ReadOnly Property GenericParameterCount() As Int32
IsGeneric
Returns true if this member has any generic parameters at all
property IsGeneric: Boolean read;
Boolean IsGeneric { get; }
var IsGeneric: Boolean { get{} }
Boolean IsGeneric { __get; }
ReadOnly Property IsGeneric() As Boolean
Required Methods
GetGenericParameter
Returns a generic parameter by index
method GetGenericParameter(no: Int32): IGenericParameterType
IGenericParameterType GetGenericParameter(Int32 no)
func GetGenericParameter(_ no: Int32) -> IGenericParameterType
IGenericParameterType GetGenericParameter(Int32 no)
Function GetGenericParameter(no As Int32) As IGenericParameterType
Parameters:
- no: index