RaumfeldNET.ContentDirectoryBrowserMulti.switchList C# (CSharp) Метод

switchList() защищенный Метод

protected switchList ( ContentDirectoryMainContentType _mainContentType ) : void
_mainContentType ContentDirectoryMainContentType
Результат void
        protected void switchList(ContentDirectoryMainContentType _mainContentType)
        {
            String listId;

            this.setListIdFromMainContentType(mainContentType, currentListId);
            listId = this.getListIdFromMainContentType(_mainContentType);
            if (this.getList(listId) != null)
            {
                currentContainerId = this.getList(listId).containerId;
                currentListId = listId;
            }
            else
            {
                currentContainerId = "";
                currentListId = "";
            }

            if (String.IsNullOrWhiteSpace(currentContainerId))
                this.browseToMainContentType(_mainContentType);
            else
                this.eventListDataReady(currentListId);
        }