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