コード例 #1
0
        public static DescribeDBParameterGroupsResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new DescribeDBParameterGroupsResultUnmarshaller();
            }

            return(instance);
        }
コード例 #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            DescribeDBParameterGroupsResponse response = new DescribeDBParameterGroupsResponse();

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


            return(response);
        }