コード例 #1
0
        public IObservable <Win32Account> ElementAsync(Win32SID inSetting, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inSetting.AsCimInstance(), options);

            return(instances.Select(i => (Win32Account)scope.Mapper.Create(scope, i)));
        }
コード例 #2
0
        public IObservable <Win32LogicalShareSecuritySetting> SecuritySettingAsync(Win32SID inTrustee, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inTrustee.AsCimInstance(), options);

            return(instances.Select(i => (Win32LogicalShareSecuritySetting)scope.Mapper.Create(scope, i)));
        }
コード例 #3
0
        public IObservable <Win32LogicalFileSecuritySetting> SecuritySettingAsync(Win32SID inGroup, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroup.AsCimInstance(), options);

            return(instances.Select(i => (Win32LogicalFileSecuritySetting)scope.Mapper.Create(scope, i)));
        }
コード例 #4
0
        public IEnumerable <Win32DCOMApplication> Element(Win32SID inSetting, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inSetting.AsCimInstance(), options);

            return(instances.Select(i => (Win32DCOMApplication)scope.Mapper.Create(scope, i)));
        }
コード例 #5
0
        public IEnumerable <Win32LogicalFileSecuritySetting> SecuritySetting(Win32SID inOwner, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inOwner.AsCimInstance(), options);

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