C# Class ThisMember.Core.DefaultMemberProvider

Inheritance: IMemberProvider
ファイルを表示 Open project: JulianR/ThisMember

Private Properties

Property Type Description
GetMemberOnType bool

Public Methods

Method Description
DefaultMemberProvider ( Type sourceType, Type destinationType, IMemberMapper mapper ) : System
GetDestinationMembers ( ) : IEnumerable
GetMatchingSourceMember ( ThisMember.Core.Interfaces.PropertyOrFieldInfo destinationProperty ) : ThisMember.Core.Interfaces.PropertyOrFieldInfo
IsMemberIgnored ( Type sourceType, ThisMember.Core.Interfaces.PropertyOrFieldInfo destinationProperty ) : bool
ProposeHierarchicalMapping ( ThisMember.Core.Interfaces.PropertyOrFieldInfo destinationMember ) : ProposedHierarchicalMapping

Private Methods

Method Description
GetMemberOnType ( Type type, IList members, int index, IList memberStack ) : bool

Method Details

DefaultMemberProvider() public method

public DefaultMemberProvider ( Type sourceType, Type destinationType, IMemberMapper mapper ) : System
sourceType System.Type
destinationType System.Type
mapper IMemberMapper
return System

GetDestinationMembers() public method

public GetDestinationMembers ( ) : IEnumerable
return IEnumerable

GetMatchingSourceMember() public method

public GetMatchingSourceMember ( ThisMember.Core.Interfaces.PropertyOrFieldInfo destinationProperty ) : ThisMember.Core.Interfaces.PropertyOrFieldInfo
destinationProperty ThisMember.Core.Interfaces.PropertyOrFieldInfo
return ThisMember.Core.Interfaces.PropertyOrFieldInfo

IsMemberIgnored() public method

public IsMemberIgnored ( Type sourceType, ThisMember.Core.Interfaces.PropertyOrFieldInfo destinationProperty ) : bool
sourceType System.Type
destinationProperty ThisMember.Core.Interfaces.PropertyOrFieldInfo
return bool

ProposeHierarchicalMapping() public method

public ProposeHierarchicalMapping ( ThisMember.Core.Interfaces.PropertyOrFieldInfo destinationMember ) : ProposedHierarchicalMapping
destinationMember ThisMember.Core.Interfaces.PropertyOrFieldInfo
return ProposedHierarchicalMapping