void SetupNetwork()
        {
            var container = new BuiltInContentContainer("Browse");

            _disposables.Add(_missionList.Missions.KeepCollectionInSync2(container.Items, x => x.GameMatch(_game)));
            _network = new NetworkLibraryItemViewModel(_library, container, BuiltInGroup)
            {
                IsRoot = true, SortOrder = 6
            };

            lock (Items)
                Items.Insert(0, _network);
            SetupUpdates();
            SetupBuiltInFeatured();
            SetupBuiltInFavorites();
            SetupBuiltInRecent();
        }
Example #2
0
        void SetupNetwork()
        {
            var container = new BuiltInContentContainer("Browse");

            _disposables.Add(_contentList.Mods.KeepCollectionInSyncOfType(container.Items,
                                                                          y => y.GameMatch(_modding)));

            Network = new NetworkLibraryItemViewModel(_library, container, BuiltInGroup)
            {
                IsRoot    = true,
                SortOrder = 6,
                IsHead    = true
            };
            lock (Items)
                Items.Insert(0, Network);

            SetupUpdates();
            SetupBuiltInFeatured();
            SetupBuiltInFavorites();
            SetupBuiltInRecent();
        }