コード例 #1
0
        public override RuleLogs Validate()
        {
            if (_headerValidator != null)
            {
                _ruleLogs.Log(_headerValidator.Validate());
            }

            if (_pathValidator != null)
            {
                _ruleLogs.Log(_pathValidator.Validate());
            }

            if (_queryValidator != null)
            {
                _ruleLogs.Log(_queryValidator.Validate());
            }

            if (_cookiesValidator != null)
            {
                _ruleLogs.Log(_cookiesValidator.Validate());
            }

            if (_bodyValidator != null)
            {
                _ruleLogs.Log(_bodyValidator.Validate());
            }

            return(_ruleLogs);
        }