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

            return(instance);
        }
Example #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            CreateHealthCheckResponse response = new CreateHealthCheckResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    response.CreateHealthCheckResult = CreateHealthCheckResultUnmarshaller.GetInstance().Unmarshall(context);
                    break;
                }
            }

            return(response);
        }