using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Web; using Spring.Objects.Factory; using System.Reflection; using Sleis.Utility; using log4net; namespace Sleis.Validation.Spring { public class BaseValidator : BaseValidationObject, IInitializingObject { public string ErrorProvider { get; set; } public IPropertyPlaceholder DeploymentMessages { set; get; } public virtual void AfterPropertiesSet() { ArgumentValidationUtility.ThrowOnEmpty(ErrorProvider, "Null ErrorProvider"); ArgumentValidationUtility.ThrowOnNull(DeploymentMessages, "Null DeploymentMessages"); } } }