public static BundleTaskUnmarshaller GetInstance() { if (instance == null) { instance = new BundleTaskUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { BundleInstanceResponse response = new BundleInstanceResponse(); int targetDepth = 2; while (context.Read()) { if (context.IsStartElement || context.IsAttribute) { if (context.TestExpression("bundleInstanceTask", targetDepth)) { response.BundleTask = BundleTaskUnmarshaller.GetInstance().Unmarshall(context); continue; } } } return(response); }