Ensures Integer and Email validators are added on startup as manifest validators.

This commit is contained in:
Shannon
2013-12-12 18:28:45 +11:00
parent b9df55ef98
commit 49550b410a

View File

@@ -268,7 +268,9 @@ namespace Umbraco.Core
{
new Lazy<Type>(() => typeof (RequiredManifestValueValidator)),
new Lazy<Type>(() => typeof (RegexValidator)),
new Lazy<Type>(() => typeof (DelimitedManifestValueValidator))
new Lazy<Type>(() => typeof (DelimitedManifestValueValidator)),
new Lazy<Type>(() => typeof (EmailValidator)),
new Lazy<Type>(() => typeof (IntegerValidator)),
});
//by default we'll use the standard configuration based sync