public IObservable <Win32Directory> DependentAsync(Win32LogicalProgramGroup inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (Win32Directory)scope.Mapper.Create(scope, i))); }
public IObservable <Win32ComputerSystem> ElementAsync(Win32LogicalProgramGroup inSetting, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inSetting.AsCimInstance(), options); return(instances.Select(i => (Win32ComputerSystem)scope.Mapper.Create(scope, i))); }
public IObservable <Win32ProgramGroupOrItem> PartComponentAsync(Win32LogicalProgramGroup inGroupComponent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options); return(instances.Select(i => (Win32ProgramGroupOrItem)scope.Mapper.Create(scope, i))); }