public override ValidaterInfo Validating(object value, object source, PropertyHandler hander)
        {
            ValidaterInfo vi = new ValidaterInfo();
            vi.Message = Message;
            if (value != null && !string.IsNullOrEmpty(value.ToString()))
            {
                string data = Convert.ToString(value);
                if (MinLength != null && MinLength>data.Length)
                {
                    
                        vi.State = ValidaterState.Error;
                        return vi;
                   
                }

                if (MaxLength != null&& data.Length> MaxLength)
                {
                    
                        vi.State = ValidaterState.Error;
                        return vi;
                   
                }
            }
            return vi;

            
        }
 public override ValidaterInfo Validating(object value, object source, PropertyHandler hander)
 {
     ValidaterInfo vi = new ValidaterInfo();
     vi.Message = Message;
     if (value == null || string.IsNullOrEmpty(value.ToString()))
     {
         vi.State = ValidaterState.Error;
     }
     return vi;
 }
 public override ValidaterInfo Validating(object value, object source, PropertyHandler hander)
 {
     ValidaterInfo vi = new ValidaterInfo();
     vi.Message = Message;
     if (value != null && !string.IsNullOrEmpty(value.ToString()))
     {
         string data = Convert.ToString(value);
         if (System.Text.RegularExpressions.Regex.Match(
             data, Regex, RegexOptions.IgnoreCase).Length==0)
         {
             vi.State = ValidaterState.Error;
         }
         
     }
     return vi;
 }
        public override ValidaterInfo Validating(object value, object source, PropertyHandler hander)
        {
            ValidaterInfo vi = new ValidaterInfo();
            vi.Message = Message;
            if (value != null && !string.IsNullOrEmpty(value.ToString()))
            {
                DateTime data = Convert.ToDateTime(value);
                if (MinValue != null)
                {
                    if (MinValue > data)
                    {
                        vi.State = ValidaterState.Error;
                        return vi;
                    }
                }

                if (MaxValue != null)
                {
                    if (data > MaxValue)
                    {
                        vi.State = ValidaterState.Error;
                        return vi;
                    }
                }
            }

            return vi;
        }