Пример #1
0
        public IObservable <CIMServiceAccessPoint> DependentAsync(CIMProtocolEndpoint inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (CIMServiceAccessPoint)scope.Mapper.Create(scope, i)));
        }
        public IObservable <CIMLogicalPort> AntecedentAsync(CIMProtocolEndpoint inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

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

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