Пример #1
0
        private UiNode[] ExpandMovieChilds()
        {
            DbArchiveAccessor dbAccessor = new DbArchiveAccessor(_listing, _indices);
            WdbMovieArchiveListing wpdListing = WdbMovieArchiveListingReader.Read(dbAccessor);

            UiNode[] result = new UiNode[wpdListing.Count];
            for (int i = 0; i < result.Length; i++)
            {
                WdbMovieEntry movieEntry = wpdListing[i];
                result[i] = new UiWdbMovieLeaf(movieEntry.Name, movieEntry, wpdListing) { Parent = this };
            }
            return result;
        }
Пример #2
0
        private UiNode[] ExpandMovieChilds()
        {
            DbArchiveAccessor      dbAccessor = new DbArchiveAccessor(_listing, _indices);
            WdbMovieArchiveListing wpdListing = WdbMovieArchiveListingReader.Read(dbAccessor);

            UiNode[] result = new UiNode[wpdListing.Count];
            for (int i = 0; i < result.Length; i++)
            {
                WdbMovieEntry movieEntry = wpdListing[i];
                result[i] = new UiWdbMovieLeaf(movieEntry.Name, movieEntry, wpdListing)
                {
                    Parent = this
                };
            }
            return(result);
        }