C# Class MappingService, code

Mostrar archivo Open project: shendongnian/code Class Usage Examples

Public Properties

Property Type Description
AutoMap Func

Public Methods

Method Description
Map ( object source, Type, sourceType, Type, destinationType ) : object
Map ( model ) : object
MapToViewModelPagedList ( PagedList, model ) : PagedList

Private Methods

Method Description
MapPagedListElements ( IEnumerable, model ) : IEnumerable

Method Details

Map() public method

public Map ( object source, Type, sourceType, Type, destinationType ) : object
source object
sourceType Type,
destinationType Type,
return object

Map() public method

public Map ( model ) : object
return object

MapToViewModelPagedList() public method

public MapToViewModelPagedList ( PagedList, model ) : PagedList
model PagedList,
return PagedList

Property Details

AutoMap public_oe static_oe property

public static Func AutoMap
return Func