Exemplo n.º 1
0
        public IObservable <Win32PnPSignedDriver> AntecedentAsync(CIMDataFile inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

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

            return(instances.Select(i => (CIMLogicalDevice)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <Win32Printer> Dependent(CIMDataFile inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (Win32Printer)scope.Mapper.Create(scope, i)));
        }
Exemplo n.º 4
0
        public IObservable <CIMDirectory> GroupComponentAsync(CIMDataFile inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

            return(instances.Select(i => (CIMDirectory)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32DCOMApplication> ApplicationAsync(CIMDataFile inClient, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inClient.AsCimInstance(), options);

            return(instances.Select(i => (Win32DCOMApplication)scope.Mapper.Create(scope, i)));
        }
        public IObservable <CIMProcess> DependentAsync(CIMDataFile inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

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