コード例 #1
0
        public IObservable <CIMSystem> GroupComponentAsync(CIMLogicalDevice inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

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

            return(instances.Select(i => (CIMProtocolController)scope.Mapper.Create(scope, i)));
        }
コード例 #3
0
        public IObservable <CIMServiceAccessPoint> DependentAsync(CIMLogicalDevice 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)));
        }
コード例 #4
0
        public IEnumerable <CIMLogicalPort> Dependent(CIMLogicalDevice inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

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