Esempio 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)));
        }
Esempio 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)));
        }