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

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

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