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