public IObservable <Win32LogicalDisk> QuotaVolumeAsync(Win32Account inUser, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inUser.AsCimInstance(), options); return(instances.Select(i => (Win32LogicalDisk)scope.Mapper.Create(scope, i))); }
public IObservable <Win32Volume> VolumeAsync(Win32Account inAccount, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAccount.AsCimInstance(), options); return(instances.Select(i => (Win32Volume)scope.Mapper.Create(scope, i))); }
public IObservable <Win32LogonSession> DependentAsync(Win32Account inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (Win32LogonSession)scope.Mapper.Create(scope, i))); }
public IEnumerable <Win32SID> Setting(Win32Account inElement, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inElement.AsCimInstance(), options); return(instances.Select(i => (Win32SID)scope.Mapper.Create(scope, i))); }
public IObservable <Win32Group> GroupComponentAsync(Win32Account inPartComponent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options); return(instances.Select(i => (Win32Group)scope.Mapper.Create(scope, i))); }