Ejemplo n.º 1
0
 public void Configure(IMvxPluginConfiguration configuration)
 {
     if (!(configuration is ValidationConfig))
     {
         throw new System.Exception("Configuration does not appear to be a valid ValidationConfig.");
     }
     _Config = (ValidationConfig)configuration;
 }
Ejemplo n.º 2
0
 public ValidationService(ValidationConfig config)
 {
     _CreateHash = config.CreateHash;
 }