Ejemplo n.º 1
0
 public IEntityTranslator <TInput, TSchema> GetTranslator <T, TInput>(Type translateSpecificationType,
                                                                      Func <IEntityTranslateSpecification <T, TInput, TSchema> > translateFactory)
     where T : TSchema
     where TInput : TSchema
 {
     return(_context.GetEntityTranslator(translateSpecificationType, translateFactory));
 }
Ejemplo n.º 2
0
 public IEntityTranslator <TI, TSchema> GetEntityTranslator <TR, TI>(Type translateSpecificationType,
                                                                     Func <IEntityTranslateSpecification <TR, TI, TSchema> > specificationFactory)
     where TR : TSchema
     where TI : TSchema
 {
     return(_context.GetEntityTranslator(translateSpecificationType, specificationFactory));
 }