コード例 #1
0
        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)));
        }
コード例 #2
0
        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)));
        }
コード例 #3
0
        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)));
        }