public static string GetLabel(this IFollowable followable) { return(followable switch { IUser user => user.Nickname, Video.ITag tag => tag.Tag, IChannel channel => channel.Name, IMylist mylist => mylist.Name, ICommunity community => community.Name, _ => throw new NotSupportedException(followable?.GetType().Name), });