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

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

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


            return(response);
        }