public IObservable <CIMUSBHub> DependentAsync(CIMUSBController inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (CIMUSBHub)scope.Mapper.Create(scope, i))); }
public IEnumerable <CIMLogicalDevice> Dependent(CIMUSBController inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (CIMLogicalDevice)scope.Mapper.Create(scope, i))); }