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

            return(instances.Select(i => (Win32DiskDrive)scope.Mapper.Create(scope, i)));
        }
Ejemplo n.º 2
0
        public IObservable <Win32ComputerSystem> GroupComponentAsync(Win32DiskPartition 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)));
        }
Ejemplo n.º 3
0
        public IEnumerable <Win32LogicalDisk> Dependent(Win32DiskPartition inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

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