protected bool Equals(PublicUser other)
 {
     return(_publicProperties.DictionaryEquals(other._publicProperties) && string.Equals(Id, other.Id) &&
            string.Equals(DisplayName, other.DisplayName) && string.Equals(AvatarUrl, other.AvatarUrl) &&
            Identities.DictionaryEquals(other.Identities));
 }