Beispiel #1
0
        public IEnumerable <MSFTNetApplicationFilter> PartComponent(MSFTNetFirewallRule inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inGroupComponent.AsCimInstance(), options);

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

            return(instances.Select(i => (MSFTNetInterfaceTypeFilter)scope.Mapper.Create(scope, i)));
        }
        public IObservable <MSFTNetFirewallProfile> GroupComponentAsync(MSFTNetFirewallRule inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

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