public IObservable <CIMLANEndpoint> DependentAsync(MsvmLANEndpoint inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (CIMLANEndpoint)scope.Mapper.Create(scope, i))); }
public IEnumerable <CIMEthernetPort> Antecedent(MsvmLANEndpoint inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (CIMEthernetPort)scope.Mapper.Create(scope, i))); }