public DogsAndHyenasAdapter( IReader <Repository.Animal> animalReader, IWriter <Repository.Animal> animalWriter, AnimalToAnimalModelTransform animalModelTransform, DogsSpecification dogSpecification, HyenaSpecification hyenaSpecification) : base(animalReader, animalWriter, animalModelTransform, dogSpecification.Or(hyenaSpecification)) { }
public AnimalToAnimalModelTransform( AnimalToDogTransform animalToDogTransform, AnimalToHyenaTransform animalToHyenaTransform, DogsSpecification dogsSpecification, HyenaSpecification hyenaSpecification) { this.animalToDogTransform = animalToDogTransform; this.animalToHyenaTransform = animalToHyenaTransform; this.dogsSpecification = dogsSpecification; this.hyenaSpecification = hyenaSpecification; }