protected override bool Matches(
            TisValidationMethod validationMethod,
            TisValidationMethodResult validationMethodResult)
        {
            m_validationMethodToCheck = validationMethod;

            if (m_methodParametersArray.Count != validationMethodResult.Parameters.Length)
            {
                return(false);
            }

            for (int i = 0; i < m_methodParametersArray.Count; i++)
            {
                object parameterToCheck = m_methodParametersArray[i];

                object parameterData = validationMethodResult.Parameters[i];

                if (parameterData != null)
                {
                    parameterToCheck = parameterData.GetType();
                }

                if (!Match(parameterToCheck, i))
                {
                    return(false);
                }
            }

            return(true);
        }
        public override bool Accepts(
            TisValidationMethod validationMethod,
            TisValidationMethodResult validationMethodResult)
        {
            if (IsInclusive)
            {
                foreach (TisValidationsResultFilter filter in m_filters)
                {
                    if (!filter.Accepts(validationMethod, validationMethodResult))
                    {
                        return(false);
                    }
                }

                return(true);
            }
            else
            {
                foreach (TisValidationsResultFilter filter in m_filters)
                {
                    if (filter.Accepts(validationMethod, validationMethodResult))
                    {
                        return(true);
                    }
                }

                return(false);
            }
        }
 public virtual bool Accepts(
     TisValidationMethod validationMethod,
     TisValidationMethodResult validationMethodResult)
 {
     if (m_isInclusive)
     {
         return(Matches(validationMethod, validationMethodResult));
     }
     else
     {
         return(!Matches(validationMethod, validationMethodResult));
     }
 }
        protected override bool Matches(
            TisValidationMethod validationMethod,
            TisValidationMethodResult validationMethodResult)
        {
            if (base.Matches(validationMethod, validationMethodResult))
            {
                if (m_parameterValues.Count == validationMethodResult.Parameters.Length)
                {
                    for (int i = 0; i < validationMethodResult.Parameters.Length; i++)
                    {
                        if (m_parameterValues[i] != null &&
                            !validationMethodResult.Parameters[i].Equals(m_parameterValues[i]))
                        {
                            return(false);
                        }
                    }
                }

                return(true);
            }

            return(false);
        }
 protected override bool Matches(
     TisValidationMethod validationMethod,
     TisValidationMethodResult validationMethodResult)
 {
     return(CompositeFilter.Accepts(validationMethod, validationMethodResult));
 }
 protected virtual bool Matches(
     TisValidationMethod validationMethod,
     TisValidationMethodResult validationMethodResult)
 {
     return(true);
 }
 protected override bool Matches(
     TisValidationMethod validationMethod,
     TisValidationMethodResult validationMethodResult)
 {
     return(m_statusToFilter.Contains(validationMethodResult.Status));
 }
 protected override bool Matches(
     TisValidationMethod validationMethod,
     TisValidationMethodResult validationMethodResult)
 {
     return(validationMethod.IsCustomCodeProvider);
 }
 protected override bool Matches(
     TisValidationMethod validationMethod,
     TisValidationMethodResult validationMethodResult)
 {
     return(StringUtil.CompareIgnoreCase(validationMethod.FullName, m_methodName));
 }