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