public ValidatableViewModelBase()
		{
			Validator = new ValidationHelper();

#if SILVERLIGHT
			NotifyDataErrorInfoAdapter = new NotifyDataErrorInfoAdapter(Validator);
#else
			DataErrorInfoAdapter = new DataErrorInfoAdapter(Validator);
#endif

			OnCreated();
		}
        public BaseVM()
        {
            Validator = new ValidationHelper();
            DataErrorInfoAdapter = new DataErrorInfoAdapter(Validator);
            Validator.ResultChanged += (o, e) =>
            {
                var propertyName = e.Target as string;

                if (!string.IsNullOrEmpty(propertyName))
                {
                    RaisePropertyChangedEvent(propertyName);
                }
            };
        }
 public ValidatableViewModelBase()
 {
     Validator = new ValidationHelper();
     DataErrorInfoAdapter = new DataErrorInfoAdapter(Validator);
     OnCreated();
 }
 protected ValidatableViewModel()
 {
     Validator = new ValidationHelper();
     DataErrorInfoAdapter = new DataErrorInfoAdapter(Validator);
     OnCreated();
 }