public IEntityTranslator <TInput, TSchema> Create(TranslatorFactoryContext <TSchema> context) { var builder = new EntityTranslatorBuilder <TResult, TInput, TSchema>(context, _specification.Name); _specification.Apply(builder); return(builder.Build()); }
public IEntityTranslator <TInput, TSchema> Create(TranslatorFactoryContext <TSchema> context) { var builder = new EntityTranslatorBuilder <TResult, TInput, TSchema>(context, _specification.Name); builder.CopyPropertyVisitor = new HL7CopyTranslateBuilderPropertyVisitor <TResult, TInput, TSchema>(builder); builder.MissingPropertyVisitor = new HL7MissingTranslateBuilderPropertyVisitor <TResult, TInput, TSchema>(builder); _specification.Apply(builder); return(builder.Build()); }