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