C# Class System.Reflection.Context.CustomReflectionContext

Inheritance: ReflectionContext
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
MapAssembly ( System assembly ) : System.Reflection.Assembly
MapType ( System type ) : System.Reflection.TypeInfo

Protected Methods

Method Description
AddProperties ( System type ) : System.Collections.Generic.IEnumerable
CreateProperty ( System propertyType, string name, object>.System getter, object>.System setter ) : System.Reflection.PropertyInfo
CreateProperty ( System propertyType, string name, object>.System getter, object>.System setter, System propertyCustomAttributes, System getterCustomAttributes, System setterCustomAttributes ) : System.Reflection.PropertyInfo
CustomReflectionContext ( )
CustomReflectionContext ( System source )
GetCustomAttributes ( System member, System declaredAttributes ) : System.Collections.Generic.IEnumerable

Method Details

AddProperties() protected method

protected AddProperties ( System type ) : System.Collections.Generic.IEnumerable
type System
return System.Collections.Generic.IEnumerable

CreateProperty() protected method

protected CreateProperty ( System propertyType, string name, object>.System getter, object>.System setter ) : System.Reflection.PropertyInfo
propertyType System
name string
getter object>.System
setter object>.System
return System.Reflection.PropertyInfo

CreateProperty() protected method

protected CreateProperty ( System propertyType, string name, object>.System getter, object>.System setter, System propertyCustomAttributes, System getterCustomAttributes, System setterCustomAttributes ) : System.Reflection.PropertyInfo
propertyType System
name string
getter object>.System
setter object>.System
propertyCustomAttributes System
getterCustomAttributes System
setterCustomAttributes System
return System.Reflection.PropertyInfo

CustomReflectionContext() protected method

protected CustomReflectionContext ( )

CustomReflectionContext() protected method

protected CustomReflectionContext ( System source )
source System

GetCustomAttributes() protected method

protected GetCustomAttributes ( System member, System declaredAttributes ) : System.Collections.Generic.IEnumerable
member System
declaredAttributes System
return System.Collections.Generic.IEnumerable

MapAssembly() public method

public MapAssembly ( System assembly ) : System.Reflection.Assembly
assembly System
return System.Reflection.Assembly

MapType() public method

public MapType ( System type ) : System.Reflection.TypeInfo
type System
return System.Reflection.TypeInfo