/// <summary>
 /// Indicates whether the current object is equal to another object of the same type.
 /// </summary>
 /// <param name="other">An object to compare with this object.</param>
 /// <returns>
 /// true if the current object is equal to the <paramref name="other">other</paramref> parameter; otherwise, false.
 /// </returns>
 public bool Equals(NotificationData other)
 {
     return(DeviceId.MatchWithWildcard(other.DeviceId) && (ResourcePaths.Any() ? ResourcePaths.Any(r => r.MatchWithWildcard(other.Path)) : true));
 }