Example #1
0
        public IObservable <Win32Printer> AntecedentAsync(Win32Share inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32Printer)scope.Mapper.Create(scope, i)));
        }
Example #2
0
        public IObservable <Win32LogicalShareSecuritySetting> SettingAsync(Win32Share inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (Win32LogicalShareSecuritySetting)scope.Mapper.Create(scope, i)));
        }
Example #3
0
        public IEnumerable <Win32ServerConnection> Dependent(Win32Share inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (Win32ServerConnection)scope.Mapper.Create(scope, i)));
        }
        public IObservable <CIMDirectory> SharedElementAsync(Win32Share inShare, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inShare.AsCimInstance(), options);

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