示例#1
0
 internal MediaBase(IntPtr handle)
 {
     if (handle == IntPtr.Zero)
     {
         throw new ArgumentNullException("handle");
     }
     Metadatas  = new VlcMediaMetadatas(this);
     TrackInfos = new VlcMediaTrackInfos(this);
     Initialize(handle);
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaBase"/> class.
 /// </summary>
 protected MediaBase()
 {
     Metadatas  = new VlcMediaMetadatas(this);
     TrackInfos = new VlcMediaTrackInfos(this);
 }