public IEnumerable <Win32PnPEntity> SystemElement(CIMLogicalDevice inSameElement, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inSameElement.AsCimInstance(), options); return(instances.Select(i => (Win32PnPEntity)scope.Mapper.Create(scope, i))); }
public IObservable <Win321394Controller> AntecedentAsync(CIMLogicalDevice inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (Win321394Controller)scope.Mapper.Create(scope, i))); }
public IEnumerable <Win32Bus> Antecedent(CIMLogicalDevice inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (Win32Bus)scope.Mapper.Create(scope, i))); }
public IObservable <CIMDataFile> DependentAsync(CIMLogicalDevice inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (CIMDataFile)scope.Mapper.Create(scope, i))); }
public IObservable <Win32ComputerSystem> GroupComponentAsync(CIMLogicalDevice inPartComponent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options); return(instances.Select(i => (Win32ComputerSystem)scope.Mapper.Create(scope, i))); }