示例#1
0
        public IObservable <Win32MemoryArray> GroupComponentAsync(Win32MemoryDevice inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32MemoryArray)scope.Mapper.Create(scope, i)));
        }
示例#2
0
        public IObservable <Win32PhysicalMemory> AntecedentAsync(Win32MemoryDevice inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

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