예제 #1
0
        /// <summary>
        /// Checks custom contract
        /// </summary>
        /// <param name="toCheck">Contract object to check</param>
        /// <exception cref="ArgumentNullException"/>
        public static void CheckCustom(IContract toCheck)
        {
            if (toCheck == null)
            {
                throw new ArgumentNullException(nameof(toCheck));
            }

            toCheck.Check();
        }