コード例 #1
0
        public IEnumerable <Win32NTEventlogFile> Log(Win32NTLogEvent inRecord, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inRecord.AsCimInstance(), options);

            return(instances.Select(i => (Win32NTEventlogFile)scope.Mapper.Create(scope, i)));
        }
コード例 #2
0
        public IObservable <Win32ComputerSystem> ComputerAsync(Win32NTLogEvent inRecord, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inRecord.AsCimInstance(), options);

            return(instances.Select(i => (Win32ComputerSystem)scope.Mapper.Create(scope, i)));
        }
コード例 #3
0
        public IObservable <Win32UserAccount> UserAsync(Win32NTLogEvent inRecord, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inRecord.AsCimInstance(), options);

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