public IObservable <CIMResourceAllocationSettingData> AntecedentAsync(CIMResourceAllocationSettingData inDependent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options);

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

            return(instances.Select(i => (MsvmFailoverNetworkAdapterSettingData)scope.Mapper.Create(scope, i)));
        }
Exemplo n.º 3
0
        public IObservable <CIMVirtualSystemSettingData> GroupComponentAsync(CIMResourceAllocationSettingData inPartComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inPartComponent.AsCimInstance(), options);

            return(instances.Select(i => (CIMVirtualSystemSettingData)scope.Mapper.Create(scope, i)));
        }
Exemplo n.º 4
0
        public IObservable <MsvmGuestNetworkAdapterConfiguration> PartComponentAsync(CIMResourceAllocationSettingData inGroupComponent, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroupComponent.AsCimInstance(), options);

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