public TabDescription(TabModel model) { this.Name = model.Name; this.ShowUnreadCounts = model.ShowUnreadCounts; this.NotifyNewArrivals = model.NotifyNewArrivals; this.BindingAccountIds = model.BindingAccounts.ToArray(); this.BindingHashtags = model.BindingHashtags.ToArray(); this.NotifySoundSource = model.NotifySoundSource; this.Query = model.GetQueryString(); }