public IObservable <Win32BaseService> PartComponentAsync(Win32LoadOrderGroup inGroupComponent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options); return(instances.Select(i => (Win32BaseService)scope.Mapper.Create(scope, i))); }
public IObservable <Win32ComputerSystem> GroupComponentAsync(Win32LoadOrderGroup 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))); }
public IEnumerable <Win32BaseService> Dependent(Win32LoadOrderGroup inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (Win32BaseService)scope.Mapper.Create(scope, i))); }