public IObservable <Win32NetworkProtocol> AntecedentAsync(Win32NetworkAdapter inDevice, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDevice.AsCimInstance(), options);

            return(instances.Select(i => (Win32NetworkProtocol)scope.Mapper.Create(scope, i)));
        }
예제 #2
0
        public IObservable <Win32NetworkAdapterConfiguration> SettingAsync(Win32NetworkAdapter inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (Win32NetworkAdapterConfiguration)scope.Mapper.Create(scope, i)));
        }