コード例 #1
0
        public ValidationConfig()
        {
            var validatorConfiguration = new ValidationConfiguration();
            var validationDsl          = new ValidationDsl(validatorConfiguration);

            Configure(validationDsl);

            new StructureMapConfigurer(validatorConfiguration).ConfigureRegistry(this);
        }
コード例 #2
0
 public void SetUp()
 {
     _validationConfiguration = new ValidationConfiguration();
     _validationDsl = new ValidationDsl(_validationConfiguration);
 }
コード例 #3
0
 public void SetUp()
 {
     _validationConfiguration = new ValidationConfiguration();
     _validationDsl           = new ValidationDsl(_validationConfiguration);
 }