Ejemplo n.º 1
0
        public static CreateStackResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new CreateStackResultUnmarshaller();
            }

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

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


            return(response);
        }