Skip to content
AutoMapper TypeScript
Esc
navigateopen⌘Jpreview
On this page

Interface: MappingStrategy\<TIdentifier\>

Interface: MappingStrategy\<TIdentifier\> API reference from @automapper/core.

@automapper/core


Defined in: packages/core/src/lib/types.ts:709

Type Parameters

TIdentifier

TIdentifier extends MetadataIdentifier

Properties

applyMetadata

readonly applyMetadata: ApplyMetadataFn

Defined in: packages/core/src/lib/types.ts:712


destinationConstructor

destinationConstructor: DestinationConstructor

Defined in: packages/core/src/lib/types.ts:710


mapper

mapper: Mapper

Defined in: packages/core/src/lib/types.ts:711

Methods

postMap()

postMap<TSource, TDestination>(source, destination, mapping): TDestination | undefined

Defined in: packages/core/src/lib/types.ts:723

Type Parameters

TSource

TSource extends Dictionary<TSource>

TDestination

TDestination extends Dictionary<TDestination>

Parameters

source

TSource

destination

TDestination

mapping

Mapping<TSource, TDestination>

Returns

TDestination | undefined


preMap()

preMap<TSource, TDestination>(source, mapping): TSource

Defined in: packages/core/src/lib/types.ts:716

Type Parameters

TSource

TSource extends Dictionary<TSource>

TDestination

TDestination extends Dictionary<TDestination>

Parameters

source

TSource

mapping

Mapping<TSource, TDestination>

Returns

TSource


retrieveMetadata()

retrieveMetadata(…identifiers): Map<TIdentifier, MetadataList>

Defined in: packages/core/src/lib/types.ts:713

Parameters

identifiers

TIdentifier[]

Returns

Map<TIdentifier, MetadataList>

Was this page helpful?