Пример #1
0
        public IObservable <CIMLogicalDevice> AntecedentAsync(CIMServiceAccessPoint inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (CIMLogicalDevice)scope.Mapper.Create(scope, i)));
        }
Пример #2
0
        public IEnumerable <CIMServiceAccessPoint> Dependent(CIMServiceAccessPoint inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

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