Example #1
0
        public IObservable <MsvmEthernetSwitchExtension> DependentAsync(MsvmInstalledEthernetSwitchExtension 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)));
        }
Example #2
0
        public IObservable <MsvmEthernetSwitchFeatureCapabilities> CapabilitiesAsync(MsvmInstalledEthernetSwitchExtension inManagedElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inManagedElement.AsCimInstance(), options);

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