示例#1
0
        public IObservable <MSFTNetAdapterQosSettingData> SettingDataAsync(MSFTNetAdapter inManagedElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inManagedElement.AsCimInstance(), options);

            return(instances.Select(i => (MSFTNetAdapterQosSettingData)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <MSFTNetAdapterChecksumOffloadSettingData> SettingData(MSFTNetAdapter inManagedElement, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inManagedElement.AsCimInstance(), options);

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