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