public IEnumerable <Win32Process> Dependent(Win32LogonSession inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (Win32Process)scope.Mapper.Create(scope, i)));
        }
Beispiel #2
0
        public IObservable <Win32MappedLogicalDisk> DependentAsync(Win32LogonSession inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (Win32MappedLogicalDisk)scope.Mapper.Create(scope, i)));
        }
Beispiel #3
0
        public IObservable <Win32Account> AntecedentAsync(Win32LogonSession inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

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