Пример #1
0
        public IObservable <Win32PhysicalMemoryArray> GroupComponentAsync(Win32PhysicalMemory inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32PhysicalMemoryArray)scope.Mapper.Create(scope, i)));
        }
Пример #2
0
        public IObservable <Win32MemoryDevice> DependentAsync(Win32PhysicalMemory inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

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