Пример #1
0
        public IObservable <CIMCheck> CheckAsync(CIMCheck inLocation, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inLocation.AsCimInstance(), options);

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

            return(instances.Select(i => (Win32Product)scope.Mapper.Create(scope, i)));
        }
Пример #3
0
        public IEnumerable <CIMCheck> Location(CIMCheck inCheck, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inCheck.AsCimInstance(), options);

            return(instances.Select(i => (CIMCheck)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <Win32SoftwareFeature> Element(CIMCheck inCheck, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inCheck.AsCimInstance(), options);

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