Amazon.DataPipeline.Model.Internal.MarshallTransformations.PollForTaskResponseUnmarshaller.UnmarshallResult C# (CSharp) Метод

UnmarshallResult() приватный статический Метод

private static UnmarshallResult ( JsonUnmarshallerContext context, PollForTaskResponse response ) : void
context Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext
response Amazon.DataPipeline.Model.PollForTaskResponse
Результат void
        private static void UnmarshallResult(JsonUnmarshallerContext context,PollForTaskResponse response)
        {
          
            int originalDepth = context.CurrentDepth;
            int targetDepth = originalDepth + 1;
            while (context.Read())
            {
              
              if (context.TestExpression("taskObject", targetDepth))
              {
                context.Read();
                response.TaskObject = TaskObjectUnmarshaller.GetInstance().Unmarshall(context);
                continue;
              }
  
                if (context.CurrentDepth <= originalDepth)
                {                   
                    return;
                }
            }
                        
            return;
        }