コード例 #1
0
        public IObservable <Win32Desktop> SettingAsync(Win32UserAccount inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (Win32Desktop)scope.Mapper.Create(scope, i)));
        }
コード例 #2
0
        public IEnumerable <Win32NTDomain> GroupComponent(Win32UserAccount inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inPartComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32NTDomain)scope.Mapper.Create(scope, i)));
        }
コード例 #3
0
        public IObservable <Win32ComputerSystem> GroupComponentAsync(Win32UserAccount inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32ComputerSystem)scope.Mapper.Create(scope, i)));
        }
コード例 #4
0
        public IObservable <Win32NTLogEvent> RecordAsync(Win32UserAccount inUser, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inUser.AsCimInstance(), options);

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