Esempio n. 1
0
        public void Stop()
        {
            ThrowIfDisposed();
            var result = Interface.stop(Handle);

            IOService.ThrowIfError(result);
        }
Esempio n. 2
0
        public void Start(NSDictionary propertyTable, IOService service)
        {
            ThrowIfDisposed();
            var result = Interface.start(Handle, propertyTable.Handle,
                                         service.Handle);

            IOService.ThrowIfError(result);
        }
Esempio n. 3
0
        public int Probe(NSDictionary propertyTable, IOService service)
        {
            ThrowIfDisposed();
            int order;
            var result = Interface.probe(Handle, propertyTable.Handle,
                                         service.Handle, out order);

            IOService.ThrowIfError(result);
            return(order);
        }