public IObservable <CIMLogicalDevice> AntecedentAsync(CIMServiceAccessPoint inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (CIMLogicalDevice)scope.Mapper.Create(scope, i))); }
public IEnumerable <CIMServiceAccessPoint> Dependent(CIMServiceAccessPoint inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (CIMServiceAccessPoint)scope.Mapper.Create(scope, i))); }