public IObservable <Win32Printer> AntecedentAsync(Win32Share inDependent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inDependent.AsCimInstance(), options); return(instances.Select(i => (Win32Printer)scope.Mapper.Create(scope, i))); }
public IObservable <Win32LogicalShareSecuritySetting> SettingAsync(Win32Share inElement, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inElement.AsCimInstance(), options); return(instances.Select(i => (Win32LogicalShareSecuritySetting)scope.Mapper.Create(scope, i))); }
public IEnumerable <Win32ServerConnection> Dependent(Win32Share inAntecedent, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTarget(scope, inAntecedent.AsCimInstance(), options); return(instances.Select(i => (Win32ServerConnection)scope.Mapper.Create(scope, i))); }
public IObservable <CIMDirectory> SharedElementAsync(Win32Share inShare, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveTargetAsync(scope, inShare.AsCimInstance(), options); return(instances.Select(i => (CIMDirectory)scope.Mapper.Create(scope, i))); }