Exemple #1
0
        public IObservable <MSFTNetLbfoProvider> PartComponentAsync(MSFTNetLbfoTeam inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

            return(instances.Select(i => (MSFTNetLbfoProvider)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <MSFTNetLbfoTeamNic> PartComponent(MSFTNetLbfoTeam inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inGroupComponent.AsCimInstance(), options);

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