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))); }
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))); }