public IObservable <MsvmEthernetSwitchPort> AntecedentAsync(MsvmDynamicForwardingEntry inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (MsvmEthernetSwitchPort)scope.Mapper.Create(scope, i))); }
public IEnumerable <MsvmTransparentBridgingService> Antecedent(MsvmDynamicForwardingEntry inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (MsvmTransparentBridgingService)scope.Mapper.Create(scope, i))); }