Beispiel #1
0
        public IObservable <MsvmEthernetSwitchExtension> DependentAsync(MsvmVirtualEthernetSwitch inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options);

            return(instances.Select(i => (MsvmEthernetSwitchExtension)scope.Mapper.Create(scope, i)));
        }
Beispiel #2
0
        public IEnumerable <MsvmEthernetSwitchData> Dependent(MsvmVirtualEthernetSwitch inAntecedent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options);

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