Ejemplo n.º 1
0
 public static RebootDBInstanceResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new RebootDBInstanceResultUnmarshaller();
     }
     return(instance);
 }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            RebootDBInstanceResponse response = new RebootDBInstanceResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("RebootDBInstanceResult", 2))
                    {
                        response.RebootDBInstanceResult = RebootDBInstanceResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }

                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }