public static CheckDNSAvailabilityResultUnmarshaller GetInstance() { if (instance == null) { instance = new CheckDNSAvailabilityResultUnmarshaller(); } return(instance); }
public CheckDNSAvailabilityResponse Unmarshall(UnmarshallerContext context) { CheckDNSAvailabilityResponse response = new CheckDNSAvailabilityResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("CheckDNSAvailabilityResult", 2)) { response.CheckDNSAvailabilityResult = CheckDNSAvailabilityResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }