protected bool PerformCheck <CheckResultType>(ConsistencyCheckBase <CheckResultType> check) where CheckResultType : ResultType
        {
            bool result;

            if (check.PreProcess(this.totalResult))
            {
                CheckResultType checkResultType = check.Run();
                if (checkResultType.ShouldBeReported)
                {
                    this.totalResult.AddCheckResult(checkResultType);
                }
                result = this.ShouldContinue((ResultType)((object)checkResultType));
            }
            else
            {
                result = true;
            }
            return(result);
        }
 internal void AddCheck(ConsistencyCheckBase <ResultType> check)
 {
     this.checkList.Add(check);
 }