Example #1
0
        public static DeleteLoadBalancerPolicyResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new DeleteLoadBalancerPolicyResultUnmarshaller();
            }

            return(instance);
        }
        public DeleteLoadBalancerPolicyResponse Unmarshall(UnmarshallerContext context)
        {
            DeleteLoadBalancerPolicyResponse response = new DeleteLoadBalancerPolicyResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("DeleteLoadBalancerPolicyResult", 2))
                    {
                        response.DeleteLoadBalancerPolicyResult = DeleteLoadBalancerPolicyResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }