Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        public void Run(MappingContext pipelineContext, MappingProcessorContext processorContext)
        {
            pipelineContext.Schema = BuildSchema(pipelineContext);

            Next();
        }