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