C# Class CommonComposition.DelegatingParameterInfo

Provides a base ParameterInfo that can be customized to expose tailored metadata for a parameter to APIs that use reflection.
Inheritance: System.Reflection.ParameterInfo
显示文件 Open project: netfx/CommonComposition

Public Methods

Method Description
DelegatingParameterInfo ( ParameterInfo parameter ) : System
GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
GetCustomAttributes ( bool inherit ) : object[]
GetCustomAttributesData ( ) : IList
GetOptionalCustomModifiers ( ) : System.Type[]
GetRequiredCustomModifiers ( ) : System.Type[]
IsDefined ( Type attributeType, bool inherit ) : bool
ToString ( ) : string

Method Details

DelegatingParameterInfo() public method

public DelegatingParameterInfo ( ParameterInfo parameter ) : System
parameter System.Reflection.ParameterInfo
return System

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[]

GetCustomAttributesData() public method

public GetCustomAttributesData ( ) : IList
return IList

GetOptionalCustomModifiers() public method

public GetOptionalCustomModifiers ( ) : System.Type[]
return System.Type[]

GetRequiredCustomModifiers() public method

public GetRequiredCustomModifiers ( ) : System.Type[]
return System.Type[]

IsDefined() public method

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
return bool

ToString() public method

public ToString ( ) : string
return string