Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Collections / Parameter­List­Extensions / Of­Parameter­Type

Method OfParameterType

OfParameterType<T>(IParameterList)

Selects the parameters of a given type.

Declaration
public static IEnumerable<IParameter> OfParameterType<T>(this IParameterList parameters)
Parameters
Type Name Description
IParameterList parameters
Returns
Type Description
IEnumerable<IParameter>
Type Parameters
Name Description
T

OfParameterType(IParameterList, Type)

Selects the parameters of a given type.

Declaration
public static IEnumerable<IParameter> OfParameterType(this IParameterList parameters, Type type)
Parameters
Type Name Description
IParameterList parameters
Type type
Returns
Type Description
IEnumerable<IParameter>

OfParameterType(IParameterList, IType)

Selects the parameters of a given type.

Declaration
public static IEnumerable<IParameter> OfParameterType(this IParameterList parameters, IType type)
Parameters
Type Name Description
IParameterList parameters
IType type
Returns
Type Description
IEnumerable<IParameter>