C# 클래스 SfSdk.PropertiesMapper

A class to map properties from one object to another via reflection.
파일 보기 프로젝트 열기: ebeeb/SfSdk

공개 메소드들

메소드 설명
CopyPropertiesFrom ( this to, object from ) : void

Copies all the properties of the "from" object to this object if they exist.

CopyPropertiesFrom ( this to, object from, string excludedProperties ) : void

Copies all the properties of the "from" object to this object if they exist.

CopyPropertiesTo ( this from, object to ) : void

Copies all the properties of this object to the "to" object

CopyPropertiesTo ( this from, object to, string excludedProperties ) : void

Copies all the properties of this object to the "to" object

메소드 상세

CopyPropertiesFrom() 공개 정적인 메소드

Copies all the properties of the "from" object to this object if they exist.
public static CopyPropertiesFrom ( this to, object from ) : void
to this The object in which the properties are copied
from object The object which is used as a source
리턴 void

CopyPropertiesFrom() 공개 정적인 메소드

Copies all the properties of the "from" object to this object if they exist.
public static CopyPropertiesFrom ( this to, object from, string excludedProperties ) : void
to this The object in which the properties are copied
from object The object which is used as a source
excludedProperties string Exclude these properties from the copy
리턴 void

CopyPropertiesTo() 공개 정적인 메소드

Copies all the properties of this object to the "to" object
public static CopyPropertiesTo ( this from, object to ) : void
from this The object which is used as a source
to object The object in which the properties are copied
리턴 void

CopyPropertiesTo() 공개 정적인 메소드

Copies all the properties of this object to the "to" object
public static CopyPropertiesTo ( this from, object to, string excludedProperties ) : void
from this The object which is used as a source
to object The object in which the properties are copied
excludedProperties string Exclude these properties from the copy
리턴 void