C# Class AliasToDTOTransformer, code

Inheritance: IResultTransformer
显示文件 Open project: shendongnian/code

Public Methods

Method Description
AddConverter ( Func, converter ) : void
AliasToDTOTransformer ( )
TransformList ( IList collection ) : IList
TransformTuple ( Array, tuple, Array, aliases ) : object

Private Methods

Method Description
ConvertValue ( Type, destinationType, object sourceValue ) : object

Method Details

AddConverter() public method

public AddConverter ( Func, converter ) : void
converter Func,
return void

AliasToDTOTransformer() public method

TransformList() public method

public TransformList ( IList collection ) : IList
collection IList
return IList

TransformTuple() public method

public TransformTuple ( Array, tuple, Array, aliases ) : object
tuple Array,
aliases Array,
return object