コード例 #1
0
        public IObservable <CIMAction> ActionAsync(Win32SoftwareFeature inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (CIMAction)scope.Mapper.Create(scope, i)));
        }
コード例 #2
0
        public IObservable <Win32SoftwareElement> PartComponentAsync(Win32SoftwareFeature inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32SoftwareElement)scope.Mapper.Create(scope, i)));
        }
コード例 #3
0
        public IEnumerable <Win32Product> Product(Win32SoftwareFeature inComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32Product)scope.Mapper.Create(scope, i)));
        }
コード例 #4
0
        public IEnumerable <CIMCheck> Check(Win32SoftwareFeature inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (CIMCheck)scope.Mapper.Create(scope, i)));
        }
コード例 #5
0
        public IObservable <Win32SoftwareFeature> AntecedentAsync(Win32SoftwareFeature inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32SoftwareFeature)scope.Mapper.Create(scope, i)));
        }