示例#1
0
        /// <inheritdoc />
        public object[] BindArguments(IRequestInfo request, IRequestMapping requestMapping)
        {
            if (request == null)
            {
                throw new ArgumentNullException("request");
            }

            if (!(request is RequestInfo))
            {
                throw new InvalidOperationException(String.Format("Requests of type '{0}' are not supported.", request.GetType()));
            }

            return(BindArguments((RequestInfo)request, requestMapping));
        }