Ejemplo n.º 1
0
        public IObservable <Win32ApplicationService> AntecedentAsync(Win32CommandLineAccess inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (Win32ApplicationService)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32ShortcutAction> ActionAsync(Win32CommandLineAccess inElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inElement.AsCimInstance(), options);

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