C# Class Microsoft.Scripting.Generation.ParameterInfoWrapper

This helper type lets us build a fake ParameterInfo object with a specific type and name to pass along to methods that expect ParameterInfos. This is currently found useful for the NewTypeMaker code and may be useful in other situations as well.
Inheritance: System.Reflection.ParameterInfo
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode Description
GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
GetCustomAttributes ( bool inherit ) : object[]
ParameterInfoWrapper ( Type parameterType ) : System
ParameterInfoWrapper ( Type parameterType, string parameterName ) : System

Method Details

GetCustomAttributes() public méthode

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType System.Type
inherit bool
Résultat object[]

GetCustomAttributes() public méthode

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
Résultat object[]

ParameterInfoWrapper() public méthode

public ParameterInfoWrapper ( Type parameterType ) : System
parameterType System.Type
Résultat System

ParameterInfoWrapper() public méthode

public ParameterInfoWrapper ( Type parameterType, string parameterName ) : System
parameterType System.Type
parameterName string
Résultat System