示例#1
0
 public MediaLibrary(MediaSource mediaSource)
 {
     //this.songs = SongCollection.Empty;
     //this.artists = ArtistCollection.Empty;
     //this.albums = AlbumCollection.Empty;
     //this.playlists = PlaylistCollection.Empty;
     //this.genres = GenreCollection.Empty;
     //this.pictures = PictureCollection.Empty;
     //this.rootPictureAlbum = PictureAlbum.Empty;
     this.mediaSource = mediaSource;
 }
示例#2
0
		public MediaLibrary (MediaSource mediaSource)
		{
		}
示例#3
0
 public MediaLibrary(MediaSource mediaSource)
 {
     IsDisposed = false;
 }
示例#4
0
 public MediaLibrary(MediaSource mediaSource)
 {
 }
示例#5
0
文件: Song.cs 项目: leha-bot/Mono.XNA
 internal Song(string Name, TimeSpan Duration, int Rating, int Tracknumber, object Handle, MediaSource source)
 {
     name        = Name;
     duration    = Duration;
     rating      = Rating;
     tracknumber = Tracknumber;
     handle      = Handle;
     mediaSource = source;
 }
示例#6
0
		public MediaLibrary(MediaSource mediaSource)
		{
            throw new NotSupportedException("Initializing from MediaSource is not supported");
		}
示例#7
0
 public MediaLibrary(MediaSource mediaSource)
 {
     IsDisposed = false;
 }
示例#8
0
 public MediaLibrary(MediaSource mediaSource)
 {
     throw new NotSupportedException("Initializing from MediaSource is not supported");
 }
示例#9
0
 internal Album(string name, MediaSource mediasource, object Handle)
 {
     this.name   = name;
     mediaSource = mediasource;
     handle      = Handle;
 }