Mapper 类
映射数据
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public static class Mapper
<ExtensionAttribute>
Public NotInheritable Class Mapper
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type Mapper = class end
- Inheritance
- Object Mapper
| Map(Object, Object, MapperOption) |
将源对象的属性映射到目标对象的属性中。
|
| Map(Object, Type, MapperOption) |
将源对象映射到目标类型的实例。
|
| MapTTarget(TTarget, MapperOption) |
扩展方法,用于将对象映射到相同类型的另一个对象。
|
| MapTTarget(Object, MapperOption) |
将源对象映射到指定目标类型的新实例。
|
| MapTSource, TTarget(TSource, MapperOption) |
扩展方法,用于将一个对象映射到另一个类型。
|
| MapListT1(IEnumerableObject, MapperOption) |
将对象集合映射为指定类型的集合。
|
| MapListT, T1(IEnumerableT, MapperOption) |
扩展方法,将一个泛型集合中的每个元素映射到另一个泛型类型的新集合。
|