示例#1
0
        public IObservable <Win32ComputerSystem> GroupComponentAsync(CIMSystemResource 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)));
        }
        public IObservable <CIMLogicalDevice> DependentAsync(CIMSystemResource inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (CIMLogicalDevice)scope.Mapper.Create(scope, i)));
        }
示例#3
0
 public IObservable<CimInstance> DependentAsync(CIMSystemResource inAntecedent, CimOperationOptions options = null)
 {
     var scope = _scope;
     var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);
     return instances;
 }