public IEnumerable <Win32SoftwareFeature> Element(CIMAction inAction, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAction.AsCimInstance(), options);

            return(instances.Select(i => (Win32SoftwareFeature)scope.Mapper.Create(scope, i)));
        }
Esempio n. 2
0
        public IObservable <Win32SoftwareElement> ElementAsync(CIMAction inAction, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAction.AsCimInstance(), options);

            return(instances.Select(i => (Win32SoftwareElement)scope.Mapper.Create(scope, i)));
        }
        public IObservable <CIMCheck> CheckAsync(CIMAction inAction, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAction.AsCimInstance(), options);

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