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

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

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

            return(response);
        }