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