C# 클래스 NZBDash.Common.Mapping.MappingHelper

파일 보기 프로젝트 열기: NZBDash/NZBDash 1 사용 예제들

공개 메소드들

메소드 설명
MapMatchingProperties ( object target, object source ) : void

Maps the matching properties from one type to the other by name.

If the name does not match then it will not be mapped.

This class was intended to be used in a class that derives from "IValueInjection"

비공개 메소드들

메소드 설명
GetPropValue ( object src, string propName ) : object
SetPropValue ( object target, object value, string propName ) : void

메소드 상세

MapMatchingProperties() 공개 정적인 메소드

Maps the matching properties from one type to the other by name.

If the name does not match then it will not be mapped.

This class was intended to be used in a class that derives from "IValueInjection"

If there is no cast type then this will be thrown
public static MapMatchingProperties ( object target, object source ) : void
target object The target object.
source object The source object.
리턴 void