protected override IEnumerable <IFilterListModel> CreateFiltersFor(DatabaseSource src)
        {
            var books_model = new AudiobookModel(this, this.DatabaseTrackModel, ServiceManager.DbConnection, this.UniqueId);

            if (src == this)
            {
                this.books_model = books_model;
            }

            yield return(books_model);
        }
示例#2
0
        protected override IEnumerable<IFilterListModel> CreateFiltersFor(DatabaseSource src)
        {
            var books_model = new AudiobookModel (this, this.DatabaseTrackModel, ServiceManager.DbConnection, this.UniqueId);
            if (src == this) {
                this.books_model = books_model;
            }

            yield return books_model;
        }