Exemple #1
0
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CountPendingDecisionTasksResponse response = new CountPendingDecisionTasksResponse();

            response.PendingTaskCount = PendingTaskCountUnmarshaller.Instance.Unmarshall(context);

            return(response);
        }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CountPendingDecisionTasksResponse response = new CountPendingDecisionTasksResponse();

            UnmarshallResult(context, response);

            return(response);
        }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CountPendingDecisionTasksResponse response = new CountPendingDecisionTasksResponse();

            context.Read();
            response.CountPendingDecisionTasksResult = CountPendingDecisionTasksResultUnmarshaller.GetInstance().Unmarshall(context);

            return(response);
        }
 private static void UnmarshallResult(JsonUnmarshallerContext context, CountPendingDecisionTasksResponse response)
 {
     response.PendingTaskCount = PendingTaskCountUnmarshaller.GetInstance().Unmarshall(context);
     return;
 }