public IEnumerable <Win32MSIResource> Resource(Win32Product inProduct, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inProduct.AsCimInstance(), options); return(instances.Select(i => (Win32MSIResource)scope.Mapper.Create(scope, i))); }
public IObservable <CIMCheck> CheckAsync(Win32Product inProduct, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inProduct.AsCimInstance(), options); return(instances.Select(i => (CIMCheck)scope.Mapper.Create(scope, i))); }
public IObservable <Win32SoftwareFeature> ComponentAsync(Win32Product inProduct, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inProduct.AsCimInstance(), options); return(instances.Select(i => (Win32SoftwareFeature)scope.Mapper.Create(scope, i))); }