Example #1
0
        public IObservable <MsvmInstalledEthernetSwitchExtension> ManagedElementAsync(MsvmEthernetSwitchFeatureCapabilities inCapabilities, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inCapabilities.AsCimInstance(), options);

            return(instances.Select(i => (MsvmInstalledEthernetSwitchExtension)scope.Mapper.Create(scope, i)));
        }
        public IObservable <MsvmFeatureSettingData> PartComponentAsync(MsvmEthernetSwitchFeatureCapabilities inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

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