Esempio n. 1
0
        public IObservable <Win32SoftwareElement> ElementAsync(Win32ODBCDriverSpecification inCheck, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inCheck.AsCimInstance(), options);

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

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