public static CreateLoadBalancerListenersResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new CreateLoadBalancerListenersResultUnmarshaller();
            }

            return(instance);
        }
Ejemplo n.º 2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            CreateLoadBalancerListenersResponse response = new CreateLoadBalancerListenersResponse();

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


            return(response);
        }