|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iTunesLib;
namespace ItnuesPlayListManager
{
public class TrackElement
{
/// <summary>
/// Creates trackobject for provided Itnues track
/// </summary>
/// <param name="playlistobject">playlist object which the track need to reside</param>
/// <param name="trackobject">Itnues track object</param>
public TrackElement(PlayListElement playlistobject, IITTrack trackobject)
{
ItnuesTrackSource = trackobject;
object obj = (object)trackobject;
playlistobject.ItnuesFolderSource.AddTrack(ref obj);
Parent = playlistobject;
}
/// <summary>
/// Gets the parent of the current Itunes Track Element.
/// </summary>
public PlayListElement Parent
{
get;
private set;
}
/// <summary>
/// Gets Itnues backreference object
/// </summary>
public IITTrack ItnuesTrackSource
{
get;
private set;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Started Programming career with VB 6 and VC++ and now Into .Net Development. Working with .Net since its first release (Version 1.0 Beta). Lucky enough to continue always with most updated versions of .Net and as of now; May 2007, fighting with .Net 3.0 (WPF,WCF...etc) and it's next most anticipated version LINQ.
Got familiarity up on the .Net Technologies and Guidelines like CAB, and Patterns and Practices, Enterprise Library and now with it's WPF version etc.
Specialized in Windows and Distributed and Service oriented applications.