Пример #1
0
        public IObservable <Win32LoadOrderGroup> PartComponentAsync(Win32ComputerSystem inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32LoadOrderGroup)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32BootConfiguration> SettingAsync(Win32ComputerSystem inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (Win32BootConfiguration)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <Win32Desktop> Setting(Win32ComputerSystem inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (Win32Desktop)scope.Mapper.Create(scope, i)));
        }
Пример #4
0
        public IEnumerable <Win32DiskPartition> PartComponent(Win32ComputerSystem inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inGroupComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32DiskPartition)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32NTLogEvent> RecordAsync(Win32ComputerSystem inComputer, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inComputer.AsCimInstance(), options);

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