public IObservable <Win32UserAccount> PartComponentAsync(Win32NTDomain inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32UserAccount)scope.Mapper.Create(scope, i)));
        }
Esempio n. 2
0
        public IEnumerable <Win32Group> PartComponent(Win32NTDomain inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inGroupComponent.AsCimInstance(), options);

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