StructureMapExtractionContext

data class StructureMapExtractionContext(val transformSupportServices: StructureMapUtilities.ITransformerServices? = null, val workerContext: IWorkerContext = SimpleWorkerContext(), val structureMapProvider: suspend (String, IWorkerContext) -> StructureMap?)

Data used during StructureMap-based extraction.

Constructors

Link copied to clipboard
constructor(transformSupportServices: StructureMapUtilities.ITransformerServices? = null, workerContext: IWorkerContext = SimpleWorkerContext(), structureMapProvider: suspend (String, IWorkerContext) -> StructureMap?)

Properties

Link copied to clipboard

A lambda function which returns a StructureMap. Depending on your app this could be hard-coded or use the String parameter to fetch the appropriate structure map.

Link copied to clipboard

Optionally pass a custom version of StructureMapUtilities.ITransformerServices to support specific use cases.

Link copied to clipboard

Optionally pass a custom version of IWorkerContext.