public IObservable <Win32ClassicCOMClass> NewVersionAsync(Win32ClassicCOMClass inOldVersion, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inOldVersion.AsCimInstance(), options);

            return(instances.Select(i => (Win32ClassicCOMClass)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <Win32ClassicCOMClass> OldVersion(Win32ClassicCOMClass inNewVersion, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inNewVersion.AsCimInstance(), options);

            return(instances.Select(i => (Win32ClassicCOMClass)scope.Mapper.Create(scope, i)));
        }
示例#3
0
        public IObservable <Win32ClassicCOMClassSetting> SettingAsync(Win32ClassicCOMClass inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options);

            return(instances.Select(i => (Win32ClassicCOMClassSetting)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32DCOMApplication> GroupComponentAsync(Win32ClassicCOMClass inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

            return(instances.Select(i => (Win32DCOMApplication)scope.Mapper.Create(scope, i)));
        }
示例#5
0
        public IEnumerable <Win32ComponentCategory> Category(Win32ClassicCOMClass inComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inComponent.AsCimInstance(), options);

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