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

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

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


            return(response);
        }