コード例 #1
0
 public static DeleteClusterSnapshotResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new DeleteClusterSnapshotResultUnmarshaller();
     }
     return(instance);
 }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            DeleteClusterSnapshotResponse response = new DeleteClusterSnapshotResponse();

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

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


            return(response);
        }