They didn't use any of AppGet's code.
Though nobody is questioning whether what MS did was legal. The issue is whether it was moral.