public IObservable <CIMManagedElement> AffectedElementAsync(CIMService inAffectingElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inAffectingElement.AsCimInstance(), options);

            return(instances.Select(i => (CIMManagedElement)scope.Mapper.Create(scope, i)));
        }
示例#2
0
        public IObservable <CIMSystem> AntecedentAsync(CIMService inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (CIMSystem)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <MsvmVirtualEthernetSwitch> Antecedent(CIMService inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options);

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