public PayloadValidators Make() { PayloadValidators validators = new PayloadValidators(); validators.Add("EXCEPTION", new ExceptionValueValidator()); return(validators); }
public MessageFactoryImpl(PayloadValidators validators) { if (validators == null) { throw new ArgumentNullException("validators"); } this.validators = validators; }