public void Run(MappingContext pipelineContext, MappingProcessorContext processorContext) { if (pipelineContext.Schema != null) { foreach (IPipelineSchema schema in pipelineContext.Schema.Schemas) { switch (schema) { case PropertyPipelineSchema propertySchema: RunPropertyPipeline(pipelineContext, propertySchema); break; case ModelProcessorSchema mappingSchema: RunModelPipeline(pipelineContext, mappingSchema); break; } } } Next(); }
public void Run(MappingContext pipelineContext, MappingProcessorContext processorContext) { pipelineContext.Schema = BuildSchema(pipelineContext); Next(); }