Example #1
0
        public IObservable <MsvmInstalledEthernetSwitchExtension> AntecedentAsync(MsvmEthernetSwitchExtension inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

            return(instances.Select(i => (MsvmInstalledEthernetSwitchExtension)scope.Mapper.Create(scope, i)));
        }
Example #2
0
        public IEnumerable <MsvmVirtualEthernetSwitch> Antecedent(MsvmEthernetSwitchExtension inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options);

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