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