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

            return(instances.Select(i => (MsvmExternalEthernetPort)scope.Mapper.Create(scope, i)));
        }
Exemplo n.º 2
0
        public IEnumerable <MsvmExternalEthernetPort> Dependent(MsvmExternalEthernetPort inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

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