コード例 #1
0
        public static ListHostedZonesResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new ListHostedZonesResultUnmarshaller();
            }

            return(instance);
        }
コード例 #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            ListHostedZonesResponse response = new ListHostedZonesResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    response.ListHostedZonesResult = ListHostedZonesResultUnmarshaller.GetInstance().Unmarshall(context);
                    break;
                }
            }

            return(response);
        }