コード例 #1
0
        public IObservable <Win32ShadowCopy> DependentAsync(Win32Volume inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (Win32ShadowCopy)scope.Mapper.Create(scope, i)));
        }
コード例 #2
0
        public IObservable <Win32Account> AccountAsync(Win32Volume inVolume, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inVolume.AsCimInstance(), options);

            return(instances.Select(i => (Win32Account)scope.Mapper.Create(scope, i)));
        }
コード例 #3
0
        public IEnumerable <Win32Directory> Directory(Win32Volume inVolume, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inVolume.AsCimInstance(), options);

            return(instances.Select(i => (Win32Directory)scope.Mapper.Create(scope, i)));
        }
コード例 #4
0
        public IEnumerable <Win32Volume> Volume(Win32Volume inDiffVolume, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inDiffVolume.AsCimInstance(), options);

            return(instances.Select(i => (Win32Volume)scope.Mapper.Create(scope, i)));
        }
コード例 #5
0
        public IEnumerable <Win32ShadowProvider> Antecedent(Win32Volume inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32ShadowProvider)scope.Mapper.Create(scope, i)));
        }
コード例 #6
0
        public IObservable <Win32QuotaSetting> SettingAsync(Win32Volume 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)));
        }