public IObservable <Win32DiskPartition> DependentAsync(Win32DiskDrive inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (Win32DiskPartition)scope.Mapper.Create(scope, i))); }
public IObservable <Win32PhysicalMedia> AntecedentAsync(Win32DiskDrive inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (Win32PhysicalMedia)scope.Mapper.Create(scope, i))); }