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)));
        }
Example #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)));
        }
        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)));
        }
        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)));
        }
        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)));
        }