Exemplo n.º 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)));
        }
        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)));
        }
        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)));
        }
Exemplo n.º 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)));
        }