Beispiel #1
0
        public IObservable <Win32Account> UserAsync(Win32LogicalDisk inQuotaVolume, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inQuotaVolume.AsCimInstance(), options);

            return(instances.Select(i => (Win32Account)scope.Mapper.Create(scope, i)));
        }
Beispiel #2
0
        public IObservable <Win32DiskPartition> AntecedentAsync(Win32LogicalDisk inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32DiskPartition)scope.Mapper.Create(scope, i)));
        }
Beispiel #3
0
        public IObservable <Win32Directory> PartComponentAsync(Win32LogicalDisk inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32Directory)scope.Mapper.Create(scope, i)));
        }
Beispiel #4
0
        public IObservable <Win32QuotaSetting> SettingAsync(Win32LogicalDisk inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options);

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