コード例 #1
0
 public PeopleController(
     IRulesValidator <Person> validator,
     IMapper mapper)
 {
     _validator = validator;
     _mapper    = mapper;
 }
コード例 #2
0
 public MappingRulesEngine(IRulesValidator rulesValidator, IMessageMapper messageMapper, IMissingCommandStrategy missingCommandStrategy)
     : base(rulesValidator, missingCommandStrategy)
 {
     _messageMapper = messageMapper;
 }
コード例 #3
0
 public ClassicMafiaRules()
 {
     RulesValidator = new ClassicRulesValidator(this);
 }