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
Mostrar archivo Open project: jschementi/iron Class Usage Examples

Public Methods

Method 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 method

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType System.Type
inherit bool
return object[]

GetCustomAttributes() public method

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
return object[]

ParameterInfoWrapper() public method

public ParameterInfoWrapper ( Type parameterType ) : System
parameterType System.Type
return System

ParameterInfoWrapper() public method

public ParameterInfoWrapper ( Type parameterType, string parameterName ) : System
parameterType System.Type
parameterName string
return System