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