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

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

private static UnmarshallResult ( JsonUnmarshallerContext context, CreatePipelineResponse response ) : void
context JsonUnmarshallerContext
response CreatePipelineResponse
Результат void
        private static void UnmarshallResult(JsonUnmarshallerContext context,CreatePipelineResponse response)
        {
          
            int originalDepth = context.CurrentDepth;
            int targetDepth = originalDepth + 1;
            while (context.Read())
            {
              
              if (context.TestExpression("pipelineId", targetDepth))
              {
                context.Read();
                response.PipelineId = StringUnmarshaller.GetInstance().Unmarshall(context);
                continue;
              }
  
                if (context.CurrentDepth <= originalDepth)
                {                   
                    return;
                }
            }
                        
            return;
        }