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

            return(instance);
        }
示例#2
0
        public SetLoadBalancerPoliciesOfListenerResponse Unmarshall(UnmarshallerContext context)
        {
            SetLoadBalancerPoliciesOfListenerResponse response = new SetLoadBalancerPoliciesOfListenerResponse();

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

            return(response);
        }