예제 #1
0
        public PlaylistTreeItem(Playlist playlist, PlaylistTreeItem[] children = null)
        {
            if (children == null)
                children = new PlaylistTreeItem[0];
            Children = children;

            this.Description = playlist.Description;
            this.ExtensionData = playlist.ExtensionData;
            this.Id = playlist.Id;
            this.ImageId = playlist.ImageId;
            this.IsColaberativ = playlist.IsColaberativ;
            this.Name = playlist.Name;
            this.Type = playlist.Type;
        }
예제 #2
0
        public PlaylistTreeItem(Playlist playlist, PlaylistTreeItem[] children = null)
        {
            if (children == null)
            {
                children = new PlaylistTreeItem[0];
            }
            Children = children;

            this.Description   = playlist.Description;
            this.ExtensionData = playlist.ExtensionData;
            this.Id            = playlist.Id;
            this.ImageId       = playlist.ImageId;
            this.IsColaberativ = playlist.IsColaberativ;
            this.Name          = playlist.Name;
            this.Type          = playlist.Type;
        }