public IObservable <CIMAction> ActionAsync(Win32SoftwareElement inElement, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inElement.AsCimInstance(), options); return(instances.Select(i => (CIMAction)scope.Mapper.Create(scope, i))); }
public IObservable <Win32SoftwareFeature> GroupComponentAsync(Win32SoftwareElement inPartComponent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options); return(instances.Select(i => (Win32SoftwareFeature)scope.Mapper.Create(scope, i))); }
public IObservable <CIMComputerSystem> SystemAsync(Win32SoftwareElement inSoftware, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inSoftware.AsCimInstance(), options); return(instances.Select(i => (CIMComputerSystem)scope.Mapper.Create(scope, i))); }
public IObservable <Win32MSIResource> SettingAsync(Win32SoftwareElement inElement, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options); return(instances.Select(i => (Win32MSIResource)scope.Mapper.Create(scope, i))); }
public IEnumerable <Win32ODBCDriverSpecification> Check(Win32SoftwareElement inElement, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSource(scope, inElement.AsCimInstance(), options); return(instances.Select(i => (Win32ODBCDriverSpecification)scope.Mapper.Create(scope, i))); }