Beispiel #1
0
        public IObservable <Win32PhysicalMemoryArray> AntecedentAsync(Win32MemoryArray inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32PhysicalMemoryArray)scope.Mapper.Create(scope, i)));
        }
Beispiel #2
0
        public IObservable <Win32MemoryDevice> PartComponentAsync(Win32MemoryArray inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

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