Beispiel #1
0
        public static DescribeAutoScalingGroupsResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new DescribeAutoScalingGroupsResultUnmarshaller();
            }

            return(instance);
        }
Beispiel #2
0
        public DescribeAutoScalingGroupsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeAutoScalingGroupsResponse response = new DescribeAutoScalingGroupsResponse();

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

            return(response);
        }