Пример #1
0
        public IEnumerable <CIMFilterEntryBase> PartComponent(MSFTNetMainModeRule inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inGroupComponent.AsCimInstance(), options);

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

            return(instances.Select(i => (MSFTNetIKEMMCryptoSet)scope.Mapper.Create(scope, i)));
        }
Пример #3
0
        public IObservable <MSFTNetFirewallProfile> GroupComponentAsync(MSFTNetMainModeRule 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)));
        }