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

            return(instance);
        }
Ejemplo n.º 2
0
        public DescribeDBSnapshotsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDBSnapshotsResponse response = new DescribeDBSnapshotsResponse();

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

            return(response);
        }