public IObservable <Win32SCSIController> AntecedentAsync(CIMLogicalDevice inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32SCSIController)scope.Mapper.Create(scope, i)));
        }
Ejemplo n.º 2
0
        public IObservable <Win32PnPEntity> SystemElementAsync(CIMLogicalDevice inSameElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inSameElement.AsCimInstance(), options);

            return(instances.Select(i => (Win32PnPEntity)scope.Mapper.Create(scope, i)));
        }
Ejemplo n.º 3
0
        public IEnumerable <Win32Bus> Antecedent(CIMLogicalDevice inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32Bus)scope.Mapper.Create(scope, i)));
        }
Ejemplo n.º 4
0
        public IObservable <CIMDataFile> DependentAsync(CIMLogicalDevice inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (CIMDataFile)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32ComputerSystem> GroupComponentAsync(CIMLogicalDevice inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

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