BExplorer.Shell.ShellView.GetBadgeForPath C# (CSharp) Method

GetBadgeForPath() private method

private GetBadgeForPath ( String path ) : IListItemEx
path String
return IListItemEx
    private IListItemEx GetBadgeForPath(String path) {
      var allBadges = this.BadgesData.SelectMany(s => s.Value).ToArray();
      var foundBadge = allBadges.Where(w => w.Value.Count(c => c.ToLowerInvariant().Equals(path.ToLowerInvariant())) > 0).FirstOrDefault();
      return foundBadge.Equals(default(KeyValuePair<IListItemEx, List<String>>)) ? null : foundBadge.Key;
    }
ShellView