Пример #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);
 }