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