public IObservable <Win32Share> DependentAsync(Win32Printer inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (Win32Share)scope.Mapper.Create(scope, i))); }
public IEnumerable <Win32PrinterDriver> Dependent(Win32Printer inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (Win32PrinterDriver)scope.Mapper.Create(scope, i))); }
public IObservable <CIMController> AntecedentAsync(Win32Printer inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (CIMController)scope.Mapper.Create(scope, i))); }
public IObservable <Win32PrinterConfiguration> SettingAsync(Win32Printer inElement, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options); return(instances.Select(i => (Win32PrinterConfiguration)scope.Mapper.Create(scope, i))); }
public IEnumerable <CIMDataFile> Antecedent(Win32Printer inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSource(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (CIMDataFile)scope.Mapper.Create(scope, i))); }