Пример #1
0
        /// <summary>
        /// Returns the base score of the CVSS object.
        /// </summary>
        /// <exception cref="System.ArgumentException">Thrown when vector is not valid.</exception>
        public double BaseScore()
        {
            if (!IsValid())
            {
                throw new ArgumentException();
            }

            return(BaseMetric.Score());
        }