コード例 #1
0
        public IObservable <Win32POTSModem> DependentAsync(Win32SerialPort inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (Win32POTSModem)scope.Mapper.Create(scope, i)));
        }
コード例 #2
0
        public IObservable <Win32SerialPortConfiguration> SettingAsync(Win32SerialPort inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options);

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