コード例 #1
0
        public void DisposeRendererDiscoverer()
        {
            var rendererDiscoverer = new RendererDiscoverer(_libVLC, _libVLC.RendererList.LastOrDefault().Name);

            rendererDiscoverer.Start();
            rendererDiscoverer.Dispose();
            Assert.AreEqual(IntPtr.Zero, rendererDiscoverer.NativeReference);
        }
コード例 #2
0
        public void DisposeRendererDiscoverer()
        {
            var rendererDiscoverer = new RendererDiscoverer(new LibVLC());

            rendererDiscoverer.Start();
            rendererDiscoverer.Dispose();
            Assert.AreEqual(IntPtr.Zero, rendererDiscoverer.NativeReference);
        }