示例#1
0
        public void Apply(ITranslatorBuilder <TSchema> builder)
        {
            var entityTranslator = builder.GetEntityTranslator <TEntity, TEntity, TTranslation>();

            builder.Add(entityTranslator);
        }
示例#2
0
 public void Apply(ITranslatorBuilder <TSchema> builder)
 {
     builder.Add(new ExcludeEntityTranslator <TEntity, TSchema>(_filter));
 }
示例#3
0
        public void Apply(ITranslatorBuilder <TSchema> builder)
        {
            var entityTranslator = builder.CreateEntityTranslator(_specification);

            builder.Add(entityTranslator);
        }