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

            response.WorkflowExecutionCount = WorkflowExecutionCountUnmarshaller.Instance.Unmarshall(context);

            return(response);
        }
Esempio n. 2
0
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CountClosedWorkflowExecutionsResponse response = new CountClosedWorkflowExecutionsResponse();

            UnmarshallResult(context, response);

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

            context.Read();
            response.CountClosedWorkflowExecutionsResult = CountClosedWorkflowExecutionsResultUnmarshaller.GetInstance().Unmarshall(context);

            return(response);
        }
 private static void UnmarshallResult(JsonUnmarshallerContext context, CountClosedWorkflowExecutionsResponse response)
 {
     response.WorkflowExecutionCount = WorkflowExecutionCountUnmarshaller.GetInstance().Unmarshall(context);
     return;
 }