BoxKite.Twitter.Models.TweetExtensions.HasEntities C# (CSharp) Méthode

HasEntities() public static méthode

public static HasEntities ( this tweet ) : bool
tweet this
Résultat bool
        public static bool HasEntities(this Tweet tweet)
        {
            if (tweet.Entities.Hashtags.HasAny())
                return true;

            if (tweet.Entities.Media.HasAny())
                return true;

            if (tweet.Entities.Mentions.HasAny())
                return true;

            if (tweet.Entities.Urls.HasAny())
                return true;

            return false;
        }