public ViewModelRankingPlayer(ResourceHandler resourceHandler) { _resourceHandler = resourceHandler; PlayerCollection = CollectionViewSource.GetDefaultView(_resourceHandler.CreatePlayerRanking( )); PlayerCollection.Filter = new Predicate <object>(Filter); }