コード例 #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
ファイル: PlaylistTreeItem.cs プロジェクト: aruns/SpotiFire
        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;
        }