public IObservable <Win32Volume> VolumeAsync(Win32Directory inDirectory, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inDirectory.AsCimInstance(), options);

            return(instances.Select(i => (Win32Volume)scope.Mapper.Create(scope, i)));
        }
Ejemplo n.º 2
0
        public IEnumerable <Win32Directory> PartComponent(Win32Directory inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inGroupComponent.AsCimInstance(), options);

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

            return(instances.Select(i => (Win32Directory)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32LogicalProgramGroup> AntecedentAsync(Win32Directory inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

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