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

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

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