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