TinyMapper:如何映射两个不同的 属性 名称

TinyMapper: How to map two different property name

假设我有 属性 和其他 class 属性 名称是 ShipmentId,我想将 Id 与 ShipmentId 映射。 这可能与 TinyMapper?

应该可以这样:

TinyMapper.Bind<SourceClass, TargetClass>(config =>
{
    config.Bind(source => source.Id, target => target.ShipmentId);
});