示例#1
0
        private ServerItem GetItemFromObjectId(string id, User user)
        {
            return(DidlBuilder.IsIdRoot(id)

                 ? new ServerItem(_libraryManager.GetUserRootFolder())
                 : ParseItemId(id, user));
        }
示例#2
0
        private ServerItem GetItemFromObjectId(string id, User user)
        {
            return(DidlBuilder.IsIdRoot(id)

                 ? new ServerItem(user.RootFolder)
                 : ParseItemId(id, user));
        }
示例#3
0
        private BaseItem GetItemFromObjectId(string id, User user)
        {
            return(DidlBuilder.IsIdRoot(id)

                 ? user.RootFolder
                 : ParseItemId(id, user));
        }