public PeopleController( IRulesValidator <Person> validator, IMapper mapper) { _validator = validator; _mapper = mapper; }
public MappingRulesEngine(IRulesValidator rulesValidator, IMessageMapper messageMapper, IMissingCommandStrategy missingCommandStrategy) : base(rulesValidator, missingCommandStrategy) { _messageMapper = messageMapper; }
public ClassicMafiaRules() { RulesValidator = new ClassicRulesValidator(this); }