public static UpdateStackResultUnmarshaller GetInstance() { if (instance == null) { instance = new UpdateStackResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { UpdateStackResponse response = new UpdateStackResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("UpdateStackResult", 2)) { response.UpdateStackResult = UpdateStackResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }