コード例 #1
0
        /// <summary>Anies the given request.</summary>
        ///
        /// <exception cref="ArgumentNullException">Thrown when one or more required arguments are null.</exception>
        ///
        /// <param name="request">The request.</param>
        ///
        /// <returns>An object.</returns>
        public object Any(InboxPost request)
        {
            if (request.Throw)
            {
                throw new ArgumentNullException("Throw");
            }

            return(null);
        }
コード例 #2
0
 /// <summary>Anies the given request.</summary>
 ///
 /// <exception cref="ArgumentNullException">Thrown when one or more required arguments are null.</exception>
 ///
 /// <param name="request">The request.</param>
 ///
 /// <returns>An object.</returns>
 public object Any(InboxPost request)
 {
     if (request.Throw)
         throw new ArgumentNullException("Throw");
     
     return null;
 }