Exemplo n.º 1
0
        public IObservable <Win32NTDomain> GroupComponentAsync(Win32Group inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

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

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