Exemplo n.º 1
0
 public void Apply(ITranslatorBuilder <TSchema> builder)
 {
     foreach (var specification in _specifications)
     {
         specification.Apply(builder);
     }
 }
Exemplo n.º 2
0
 public void Apply(ITranslatorBuilder <TSchema> builder)
 {
     builder.Add(new ExcludeEntityTranslator <TEntity, TSchema>(_filter));
 }
Exemplo n.º 3
0
 void ITranslatorSpecification <TSchema> .Apply(ITranslatorBuilder <TSchema> builder)
 {
     _specification.Apply(builder);
 }
Exemplo n.º 4
0
        public void Apply(ITranslatorBuilder <TSchema> builder)
        {
            var entityTranslator = builder.GetEntityTranslator <TEntity, TEntity, TTranslation>();

            builder.Add(entityTranslator);
        }
Exemplo n.º 5
0
        public void Apply(ITranslatorBuilder <TSchema> builder)
        {
            var entityTranslator = builder.CreateEntityTranslator(_specification);

            builder.Add(entityTranslator);
        }