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